How to make Simplified Chinese HTML page using Textpad?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
terrygao
Posts: 2
Joined: Sun Jan 02, 2005 12:41 am

How to make Simplified Chinese HTML page using Textpad?

Post 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
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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
User avatar
bbadmin
Site Admin
Posts: 878
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post 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
charlesNPC
Posts: 2
Joined: Mon Jan 03, 2005 4:20 pm
Location: Bryan, Texas
Contact:

TP Unicode support

Post by charlesNPC »

Are there any chances that TP5 will support Unicode ?

TIA
Post Reply