Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 31st, 2011, 09:43 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Danish Characters Issue

I have a website in Danish.

The problem is some characters are not displaying correctly. Some of the data on my site is hard coded while some data comes from ms access database.

If content type is Utf-8 then hard coded content look okay but data that comes from db starts to show some square boxes in place of some Danish characters.

While if content type is iso-8859-1 db content looks okay but hard coded content show boxes.

I am using Classic ASP with MS Access database.

Please advice.
 
Old February 15th, 2011, 08:57 AM
Authorized User
 
Join Date: Jan 2011
Posts: 86
Thanks: 1
Thanked 12 Times in 12 Posts
Default

Hi,

did you try to both set your codepage and charset?
I typically had:
<%@ Language="VBSCRIPT" CODEPAGE="65001"%>
Response.Charset = "utf-8"
 
Old March 5th, 2011, 12:27 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Thanks for your response. I put following meta tag in html header to resolve the issue:

Quote:
<meta http-equiv="Content-Language" content="da">





Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with Tab Characters during XSLT Transformation sivakumar_g01 XSLT 1 October 20th, 2010 09:17 AM
Remove First and Last Characters from String if it Contains Those Characters DoriftuEvo Excel VBA 9 September 22nd, 2009 09:01 AM
Greek Characters Issue itHighway Classic ASP Basics 1 March 31st, 2008 09:19 AM
**** instead of characters Louisa VB.NET 2002/2003 Basics 2 March 25th, 2004 09:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.