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
iphone sdk : Break chinese sentence into words and letters
I have Chinese news feed and I want to break the sentence into smaller chunks to pass to the API.
How can I do it in ios? I have set character length of 50 characters for English language.
Currently I am using rangeOfString: function to find dot,…

Shefali Soni
- 1,234
- 14
- 26
0
votes
1 answer
How can I add support for Chinese keyboard with UITextView on iOS 7?
How can I add support for Chinese keyboard with UITextView on iOS 7? Currently I'm using the following code. But it works correctly only for standard-sized keyboards. It resizes UITextView only for the main keyboard without additional Chinese…

Dmitry
- 14,306
- 23
- 105
- 189
0
votes
1 answer
export .csv file for DB with chinese characters
I'm looking a way to export me .csv which includes some chinese characters....
It's for woocommerce,
I've more than 1000 products in total, half in english, half in chinese, The problem I have is when I export my .csv file from excel, all the…

tibewww
- 593
- 4
- 11
- 32
0
votes
2 answers
Regex for Matching numeral Pinyin
I'm looking for a regex to match numeral pinyin lexical unit (one or more pinyin without space).
Reading Regex for Matching Pinyin seems a good start as I was able to quickly add the support for numeral by doing :
/(ORIGINAL_REGEXP)[0-5]/
So…

Édouard Lopez
- 40,270
- 28
- 126
- 178
0
votes
1 answer
Identify encoding and convert characters
Every once in a while, a customer from China will place an order on my site, and sometimes their name and address information will be written to the MySQL database in a series of characters that I can't identify or translate.
For example, the…

geoff
- 45
- 5
0
votes
1 answer
FreeMarker on Chinese OS loses a character
I have FreeMarker being used on an application running on Windows 7 in a Chinese locale.
The .ftl file includes this XML:
Æ
The text is the letter Æ (the grapheme of AE, U+00C6) followed by an encoded newline. There…

DDx
- 9
- 4
0
votes
0 answers
Special characters conversion from service in iOS
I am getting some data from response which includes some special characters. The text is in Chinese format. Here I have shown the special characters.
Please have a look and advise me how to convert this to Chinese format. It is possible in android…

SURESH SANKE
- 1,653
- 17
- 34
0
votes
1 answer
WordPress Simplified Chinese language code
As part of localization for our WordPress website we need to support Chinese simplified script. Not knowing anything about Chinese we did some research and used zh-CN (also known as zh-Hans).
Our client states this is incorrect and we should use:…
0
votes
2 answers
PHP json encoding with traditional/simplified Chinese character
I had problem encoding traditional/simplified Chinese character with php. I've done quite some research but
mysql_set_charset('utf8');
header("content-type:text/html; charset=utf8");
didn't work for me

changey
- 18,606
- 9
- 28
- 34
0
votes
1 answer
iOS Localized String in Chinese
I'm trying to put chinese characters in a localized string file ( Localizable.strings ) but xcode can't compile it, it says it is in the wrong format. If I remove the chinese characters it compiles fine, what should I do?
Thanks.

Badjano
- 418
- 7
- 23
0
votes
2 answers
IText - Generating PDF with Chinese characters (Chinese Simplified)
I am using iText to generate some PDFs, these pdfs have some Chinese characters (Simplified Chinese - GB2312), however I am unable to generate a pdf with these characters.
Anyone could tell me where I am wrong?
I tried using various forms of…

Estevão Jordão
- 189
- 1
- 5
- 20
0
votes
0 answers
Different Languages for django username
How to enable users to use other languages such as Chinese in username field using the usercreation form?
The methods I have tried:
modify the regex field of username field, failed
What it tells me: the validation is not with the field, but the…

user3101709
- 1
- 1
0
votes
2 answers
Where can I find Chinese character bopomofo/pinyin data?
I'm looking for a datasets with all the Chinese character Mandarin pronunciations in bopomofo and/or pinyin. Also, I need open source datasets that I can copy into my own code bases.

Nathan Breit
- 1,661
- 13
- 33
0
votes
1 answer
python chinese character not writing to file correctly…..with some programs
So I've been working with the CC-CEDICT, a free downloadable Chinese-English dictionary. I've been using python to make some small changes and reformat the dictionary. When I ran code that just reorganized the dictionary as a csv file, I had no…

themantalope
- 1,040
- 11
- 42
0
votes
1 answer
Which coding System should I use in Emacs? When I copy Chinese words to emacs, then the frame appear the disordered codes.
I use the Chinese Ubuntu, and the version of emacs is 23. When I copy chinese words to the Emacs, then there will be disordered codes and digital numbers. And when I use C-c C-s to save the file, then emacs will alert me to select one…

ShuMing Li
- 153
- 1
- 8