Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chinese language on web pages 1

Status
Not open for further replies.

trollacious

Programmer
Sep 29, 2004
4,046
US
A friend has asked me to help him with some web pages in Chinese. He has the idea it'll be a simple matter of copying and pasting from either a word processor file or text editor, but I'm not sure it's that simple. I've only done pages in English so far, so if anyone has any experience with how to copy and paste, if a text editor or word processor on a Chinese version of Windows produces Unicode character numbers, or how to proceed, I'd appreciate suggestions.

Lee
 
If you get no joy here, try asking in the Code Internationalisation Forum (forum736).

Hope this helps,
Dan

[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Thanks, Dan. I glanced at the forum, and will look more in depth tomorrow.

Lee
 
I saw that in an earlier search. Since I'm using English Windows, and don't know Chinese, I'm at a disadvantage. I'm not sure how to convert the characters to Unicode, and the guy who's going to type up the Chinese translations doesn't have any idea about web design. I think I'll have to spend some time sitting down with him to ask if my formatting in the characters is correct. I've seen some stuff that's written in Unicode numbers, but am not sure how to get something like that. I think I'm a little bit old for learning a new human language, especially one so different from Western languages.

Lee
 
Lee, I am not offering expertise here but maybe just some pointers.

I think that the issue with Chinese is that you cannot represent a character in one byte.

If you try to access a Chinese site I think that you will be prompted to download something that allows you to recognize double byte characters.

Maybe someone else has additional information.

Clive
 
Yes, Chinese characters are 2-byte Unicode characters. What I'm looking for is some ideas for converting a text file or word processor file in a Chinese version of Windows into the Unicode numbers.

I did a babelfish translation of a web page into Simplified Chinese, and in IE the View Source gives me the characters that are unprintable in Notepad, and Firefox displays the actual Chinese characters (which copied and pasted into Notepad or Textpad produces unprintable characters).

Maybe I should write an executable program to parse the file and convert the symbols to Unicode character numbers? I found a page at w3.org that does the conversion if you copy and paste whatever you want translated, so will probably use that.

Lee
 

Have you tried the "Save as web page" option of Word? I have no idea if it will do the conversion for you or not (not having any source chinese material ;o)

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top