Page 1 of 1

How to make Simplified Chinese HTML page using Textpad?

Posted: Sun Jan 02, 2005 12:46 am
by terrygao
Hello All

I am in the process of translating a web application to Simplified Chinese language. I noticed the file (php) file is encoded as ANSI. But anyways, after I type Chinese in the file, the new chars all becomes '?'. Seems to me that the ANSI encoding is not able to handle Chinese. However, I tried to change the encoding to UNICODE or UTF-8 (by setting the 'Encoding' when saving the document) but that didn't seem to help.

Thanks for any pointers.

PS: I am using the lastest version of Textpad.

Cheers

Terry

Posted: Sun Jan 02, 2005 8:25 am
by MudGuard
Textpad can not really handle Unicode - it can only display one codepage (of up to 256 characters - of which about 1/4 are control characters ==> about 190 different characters).

If you need the full range of Unicode you can

either use numerical character references: 〹

or use a Unicode editor

Posted: Sun Jan 02, 2005 8:51 am
by bbadmin
As MudGuard pointed out, TextPad does not work internally in Unicode, so you cannot mix characters from Chinese and other scripts in the same document. However, it does work with the entire set of characters from a particular script - assuming you are using Windows 2000 or XP.

You must select an appropriate font and script, such as MingLiU with CHINESE_BIG5 script. It will be most convenient if you make those changes to the HTML document class, while you are doing this translation. Then, you can either save the documents as ANSI, or UTF-8, depending on how your web server requires them.

Keith MacDonald
Helios Software Solutions

TP Unicode support

Posted: Mon Jan 03, 2005 6:27 pm
by charlesNPC
Are there any chances that TP5 will support Unicode ?

TIA