IIS ASP - UTF8 unicode problems...

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > May 2004 > UTF8 unicode problems...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author UTF8 unicode problems...
FX

2004-04-23, 12:34 pm

Hi,

All instructions seems to be good in my ASP script page:
- @Codepage=65001 or Session.CodePage=65001
- Response.charSet="utf-8"

But I have many other coding problems with utf-8:
- can't put éàè... characters in javascript comments because ASP files
must be saved in ANSI format
- must save my client javascript file in UTF-8 cause of special
characters in comments (french attitude...)
- can't use standard upload components (free components like
aspSmartUpload understands UTF8 Upload with special characters but not the
aspSmartUpload Request object to retreive other <Form> values )
- For Each syntax in multivalued Request object doesn't work (the
variant seems to be an ANSI encoded character). Ex: For Each foo in
request("Foo") => foo contains wrong encoded characters (not UTF-8)
- AND SO ON....

Where can I get exhautive rules to develop ASP web application in utf-8
charset ? Is there a simple way to develop utf-8 compilant ASP
webapplication ?

regards,

FX


Jim Shaker

2004-05-30, 11:53 am

Make this header part of resulted html page. ie: let javascript code see them

<meta http-equiv="Content-Type" content="text/html; charset=utf-1-1">

Hope this will help

----- FX wrote: -----

Hi,

All instructions seems to be good in my ASP script page:
- @Codepage=65001 or Session.CodePage=65001
- Response.charSet="utf-8"

But I have many other coding problems with utf-8:
- can't put éÃ_è... characters in javascript comments because ASP files
must be saved in ANSI format
- must save my client javascript file in UTF-8 cause of special
characters in comments (french attitude...)
- can't use standard upload components (free components like
aspSmartUpload understands UTF8 Upload with special characters but not the
aspSmartUpload Request object to retreive other <Form> values )
- For Each syntax in multivalued Request object doesn't work (the
variant seems to be an ANSI encoded character). Ex: For Each foo in
request("Foo") => foo contains wrong encoded characters (not UTF-8)
- AND SO ON....

Where can I get exhautive rules to develop ASP web application in utf-8
charset ? Is there a simple way to develop utf-8 compilant ASP
webapplication ?

regards,

FX



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com