chinese

Chinese Characters displaying in IE7+

The Problem: Chinese characters aren't displaying correctly in IE7+. They are displaying in Firefox 3, Chrome, Opera 9.5, and IE6. Example: Transportation Scroll down to the footer on the page, click on "Translate This page" and the second option in the select box should be the Chinese characters. ...

Converting Simplifed Chinese GB 2312 text characters into UTF8

How do I convert text between Simplified Chinese GB 2312 or similar multi-byte text strings into UTF8 using c++ ? ...

Can you use a TextFormat object to set a text component's font to a system font?

I'm trying to switch back and forth between an embedded font (used for English-language characters) and the _sans system font (used to display Chinese characters) in an input field. I'm looking at the charCode of the typed-in character, prior to displaying it, and determining the appropriate font to use, and setting the defaultTextForma...

How do I insert Chinese characters into a SQLExpress text field?

How do I insert Chinese characters into a SQLExpress text field? I'm using SQL Express from VS 2008. When I add Chinese characters, either via an import app I wrote or by pasting them in from the data view inside Visual Studio, they end up as question marks. ...

Recursive directory listing using Ruby with Chinese characters in file names

I would like to generate a list of files within a directory. Some of the filenames contain Chinese characters. eg: [试验].Test.txt I am using the following code: require 'find' dirs = ["TestDir"] for dir in dirs Find.find(dir) do |path| if FileTest.directory?(path) else p path end end end Running the script...

Any good converter for GB, Big5, Unicode

Any good converter for GB, Big5, Unicode? Convert GB to Unicode, Unicode to GB, Big5 to Unicode, Unicode to Big5, GB to Big5. ...

Japanese/Chinese language data in SQL Server table

So I've got an interesting problem that I need help with faster than I can get my skills with SQL Server up to par. We have a table that contains a bunch of text, all of it in different languages. Most of this data appears correctly in the browser, however, anything in Chinese or Japanese gets completely mangled by the browser. This i...

How do I get a list of folder names, which have Chinese names, into an excel sheet?

I know I can list the folders in the command line and copy it into a spreadsheet, but if the folder names are in Chinese, the names do not show up correctly. I guess the command prompt does not support Unicode? I am using an English Windows XP OS. ...

Unicode fonts in PyGame

How can I display Chinese characters in PyGame? Also, what's a good free/libre font to use for this purpose? Thanks ...

Why too little index on chinese sites from google?

It is really strange that my company website has been release for long time already and I also submit sitemap to google but the index seem very very little (about 300 links only) which is really unbelievable. I do the same for the English portal it has very big index on google. I just wonder if google has problem with index portal in ch...

Chinese characters in an InfoPath browser form submitted to a web service appear as question marks

I have a web service that submits InfoPath forms to a workflow. When I submit a form from the browser, Chinese characters entered into text boxes or rich text boxes are passed to the service as question marks. The service exposes two methods: one that takes the form as an XML string and another that takes it as an XML document. The probl...

Chinese language codes

We are updating an old .net 1.1 website to 2.0. The site currently supports Chinese (Traditional) & Chinese (Simplified) I'm getting a run time error when trying to detect the language & culture using the codes: zh-CHS (simified) & zh-CHT (traditional): Please select a specific culture, such as zh-CN, zh-HK, zh-TW, zh-MO, zh-SG. From...

How to save Chinese Characters to file with java ?

I use the following code to save Chinese characters into a .txt file, but when I opened it with wordpad, I can't read it. StringBuffer Shanghai_StrBuf=new StringBuffer("\u4E0A\u6D77"); boolean Append=true; FileOutputStream fos; fos=new FileOutputStream(FileName,Append); for (int i=0;i<Shanghai_StrBuf.length();i++) fos.write(Shanghai_St...

How does a file with Chinese characters know how many bytes to use per character?

I have read Joel's article "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)" but still don't understand all the details. An example will illustrate my issues. Look at this file below: I have opened the file in a binary editor to closely examine the last of t...

Testing for Japanese/Chinese Characters in a string

I have a program that reads a bunch of text and analyzes it. The text may be in any language, but I need to test for japanese and chinese specifically to analyze them a different way. I have read that I can test each character on it's unicode number to find out if it is in the range of CJK characters. This is helpful, however I would l...

sql server 2005 xml update query chinese characters

Hi I am trying to update the value of a tag with Chinese characters. However it does not add the chinese characters. Instead it adds "???" . e.g. update table set col.modify('replace value of (/tag/text())[1] with "我"') where .. Any help is much appreciated thanks Ben ...

chinese mobile software development?

Hi, As per my assumption () there are hundreds of millions of Chinese mobile phones (or clones of brand phones) out there. And it seems firmware and OS of those mobile phones are same. Those phones only differ in their design and may be hardware. I was wondering if there is any development kit or software development support for those m...

Allowing controlled use of Chinese text

Hello, I'm overseeing the overhaul an asp.old web app for order entry into .net. So far easy enough, the project has taken an interesting turn, in that I also need to ensure that it can support data entry of Chinese text. Am just looking at data entry for now. I've hit a snag in that there are conditions when data entry must only be a...

Using Tcl encoding command to convert from Traditional Chinese to Simplified Chinese

I support a website written in Tcl which displays data in Traditional Chinese (big5). We then have a Java servlet, using the translation code from mandarintools.com, to translate a page request into Simplified Chinese. The conversion as specified to the translation code is from UTF-8 to UTF-8S; Java is apparently correctly translating...

display chinese character in eclipse console output

Hi, I am trying to display some Chinese characters in the GB2312 encoding in the eclipse console. I realize that in Run Dialog -> Common tab -> Console Encoding, I can choose additional encodings other than the default CP1252. However, how I can add additional encodings, like GB2312? Thanks. ...