ColdFusion Page Encoding

In order to show the characters other than the English characters on your website, you may need to use the below coding on your CFM script.

Here is a sample of coding for Chinese characters.

<cfprocessingdirective pageEncoding="gb2312">
<cfcontent type="text/html; charset=x-EUC-CN">
<cfset setEncoding("URL", "gb2312")>
<cfset setEncoding("Form", "gb2312")>

If you would like to know the charsets that are use in ColdFusion, you may refer to http://www.sustainablegis.com/projects/i18n/charsetTB.cfm

  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Related Articles

Using Custom Tags in Cold Fusion

Custom tags(.cfm) do not need to be registered on the server. They can be...

CFMail

Sends an e-mail message that optionally contains query output, using an SMTP server. Line...