Not using UTF8?

Reading a ColdFusion page with a nondefault character encoding
Macromedia recommends that you encode all international application pages as UTF-8 with a byte-order mark (BOM), so that ColdFusion automatically detects the page as UTF-8 encoded; no cfprocessingdirective tag is needed. The BOM sets the first byte of a UTF file, so the program reading the page recognizes which encoding is in use.

If this is not possible, to specify that ColdFusion reads a page with a character encoding other than the Java default locale value, you use the cfprocessingdirective tag and pageencoding attribute, as follows:

<cfprocessingdirective pageencoding=" encoding ">

Typically, you assign one of the following values to encoding :

EUC-JP (Japanese)
EUC-KR (Korean)
ISO-8859-1 (Western European and English)
SHIFT_JIS (Japanese)
UTF-8 (All Languages)



from http://www.adobe.com/support/coldfusion/internationalization/internationalization_cfmx/internationalization_cfmx3.html



Ryan Sabir wrote:
Hey all,
 
I'm trying to get some web pages to show in Simplfied Chinese encoding, but the standard META tag doesn't seem to be working.
 
When I look at this page:
 
All the chinese characters are coming up wrong, however, when I go to the View->Encoding menu and manually set the encoding to gb2312, it looks fine.
 
I have the
<meta http-equiv="content-type" content="text/html; charset=gb2312">
 
line in there which is supposed to set the character encoding, but my browser is defaulting to Unicode.
 
This only started happenning when it moved from III5 on Win 2000 Server to IIS6 on Win 2003 Server. Is there a server setting I need to tweak to enable this?
 
thanks.
 
 
 
 
Ryan Sabir
Technical Director

p: (02) 9274 8030
f: (02) 9274 8099
m: 0411 512 454
w: www.newgency.com
Newgency Pty Ltd
Web | Multimedia | eMarketing

224 Riley St
Surry Hills NSW 2010
Sydney, Australia
 



-- 
Haikal Saadh
Applications Programmer
ICT Resources, TALSS
QUT Kelvin Grove

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---




Reply via email to