Questions related to specific aspects of machine-processing Chinese language, or to code that is executed under Chinese localization settings.
Questions tagged [chinese-locale]
398 questions
0
votes
2 answers
Split and echo individual chinese characters in PHP
I'm grabbing chinese characters from .csv file and echoing out into HTML through PHP, having great difficulties grabbing them directly from .csv I copy-pasted into .txt and became easier to deal with the data, my hanzi_characters.txt have several…

gma992
- 111
- 1
- 1
- 6
0
votes
1 answer
String of Chinese characters longer that MySQL field
I am developing a web app using MySQL and PHP. Some of the users will be Chinese so that I need to test my program with Chinese characters. As Chinese characters are longer that the usual ASCII characters, it happens that the MySQL field may be…

Pierre
- 1,044
- 15
- 27
0
votes
1 answer
"incomplete final line found by readTableHeader" when using read.delim() on a tab-delimited file with Chinese character
I got this "incomplete final line found by readTableHeader" error message when using read.delim() to read in a tab-delimited text file. There are Traditional Chinese characters in the header and content, so I am already using alternative encoding,…

TerenceLam
- 143
- 2
- 8
0
votes
1 answer
NSSortDescriptor in Chinese... how?
I am adding Chinese support to my application.
I have this line that sorts english and other languages
NSSortDescriptor *sortByItem = [NSSortDescriptor sortDescriptorWithKey:@"countryName" ascending:YES…

Duck
- 34,902
- 47
- 248
- 470
0
votes
1 answer
Chinese url Android mediaplayer
Mediaplayer is not streaming the right url. I think it's an issue with translation and compiling, but I am unsure.
http://translate.google.com/translate_tts?tl=zh-TW&q=大. This is the url I want it to stream. It includes the chinese character.
It's…

ginsengtang
- 751
- 1
- 7
- 17
0
votes
1 answer
special character with chinese characters not substituted in python string
I cannot seem to substitute a ')' or a '(' without causing errors in other strings. ')' and '(' are special characters. Here are two strings "sample(志信达).mbox" and "sample#宋安兴.mbox" . If I use re to substitute the characters,the chinese character…

Ben Law
- 58
- 6
0
votes
1 answer
Anything odd about Chinese unicode characters 稍 and 稊 that would affect KDiff3?
I have reported a bug and entered a support request at the KDiff3 site (https://sourceforge.net/p/kdiff3/bugs/198/), but I wonder if anyone has any prompt information for me about a behavior I'm seeing that might lead me to understanding why such a…

BlueMonkMN
- 25,079
- 9
- 80
- 146
0
votes
1 answer
print out the whole Chinese dictionary with output { unicode, Chinese character)
Would some one show me how to print out the whole Chinese dictionary with output { unicode, Chinese character) in Java ?
String index = String.valueOf(i) ;
String chineseChar = "\\" + "u4e0" + index ;
System.out.println (index + " => " + chineseChar…

Kam Mok
- 1
0
votes
1 answer
Read different languages with IMAP in Ruby
I am acquiring a list of folders from an email account, some of these have chinese characters.
However the output from Ruby, is not proper. How do I get it display the correct characters?
Example:
"Group: &gC9UCE6SUtVQs2StgKFO,WcJllBRbFP4-"
The…

ShivamD
- 931
- 10
- 21
0
votes
0 answers
How to import data with Chinese Characters correctly in R
Here is the link to the file I am having trouble with. https://www.dropbox.com/s/m7dllf3ec884mte/help.csv?dl=0
I am using RStudio with R 3.1.2 installed. My problem is that when using read.csv to import this file, the Chinese character within the…
0
votes
1 answer
Cut and Paste in .NET Windows Forms
I have a (partly) Chinese .NET application (and I don't know any Chinese). So I Would like to translate some prompts (I don't want to change the program, just understand the prompts) via Google Translate.
Is there a way to cut & paste the text in a…

Ruediger Jungbeck
- 2,836
- 5
- 36
- 59
0
votes
1 answer
Chinese password in masked text box in Windows Forms?
When a Windows Forms TextBox is in password mode, it is restricted and the ImeMode is disabled (As discussed here and here). How can I design a textbox that doesn't reveal the user's input but that takes/collects the Chinese input from the keyboard…

f1zz0_13
- 495
- 2
- 8
- 19
0
votes
1 answer
Android Studios Not Showing Certain Chinese Characters
I have a text file encoded as UTF-8 containing Chinese character which opens fine in Notepad++, however when opened in Android Studio some of the characters are replaced with "□" indicating they are missing. (Android Studio IDE is also set to…

tsange
- 51
- 9
0
votes
0 answers
How show chinese characters in a jTexArea
I have a JTexArea in a frame and i want to show chinese characters. My application shows perfectly other languajes like russian, spanish,... but I have problems with chinese.
Jlabels, Jbuttons and other components works perfectly in chinese but in…

gopeca
- 1,601
- 12
- 12
0
votes
0 answers
Display Chinese characters from RTF in Android
I am getting a RTF from server as below:
{\rtf1\ansi\ansicpg1252\fromtext \deff0{\fonttbl
{\f0\fswiss\fcharset0 Arial;}
{\f1\fmodern Courier New;}
{\f2\fnil\fcharset2 Symbol;}
{\f3\fmodern\fcharset0 Courier New;}
{\f4\fswiss\fcharset128 MS…

Manish
- 668
- 1
- 9
- 30