chinese

Multilingual Text to Speech Libraries?

Hi all, I'm currently looking at developing a small client that has the ability to read text to speech in a variety of languages. Mainly targeting English & Japanese. So my question is, does anyone know of a library that is capable of reading English and Japanese to speech? My target development language initially, is c# Thanks for...

How can I get Visual Studio 2010 to show Chinese comments properly

I have some code from a Chinese business partner, and all of the comments in the code are in Chinese. However, Visual Studio displays them as gibberish. How can I get them to display properly. Here is a code example with some comments converted to gibberish: //Á¬½Óµ½·þÎñÆ÷ void CTestAPIDlg::OnBnClickedButton2() { UpdateData(TRUE)...

How do I capture Chinese input via SCIM with STDIN in Perl?

I use SCIM on Linux for Chinese and Japanese language input. Unfortunately, when I try to capture input using Perl's STDIN, the input is crazy. As roman characters are typed, SCIM tries to guess the correct final characters. ^H (backspace) codes are used to delete previously suggested chars on the command line. (As you type, SCIM tri...

Does Sphinx handle content in asian languages well?

I'm thinking about using Sphinx as a search engine for my site. But since I have a lot of Korean content, and other languages like Chinese and Thai may follow, I wonder how well Sphinx can handle this type of content. ...

'' Not a valid unicode character, but in the unicode character set?

Short story: I can't get an entity like '𠂉' to store in a MySQL database, either by using a text field in a Ruby on Rails app (with default UTF-8 encoding) or by inputting it directly with a MySQL GUI app. As far as I can tell, all Chinese characters and radicals can be entered into the database without problem, but not these rarely typ...

convert UTF8 to Traditional Chinese Character

Hi, So I can't seem to find good documentation that will allow me to do the following: I've got a bunch of UTF8 strings JSON'ed down to my iphone app and displayed into the UITableView. When the user click on an item, I want a UIActionSheet to come up to notify them of the category that they've selected. Problem is is that the C...

how to make whoosh search chinese word .

this is my code : #coding:utf-8 import cgi,os from google.appengine.ext import webapp from google.appengine.ext.webapp import template from google.appengine.ext.webapp.util import run_wsgi_app from whoosh import store from whoosh.fields import Schema, STORED, ID, KEYWORD, TEXT from whoosh.index import getdatastoreindex,create_in from ...

WinForms Control position in Simplified Chinese

We have a WinForms application that includes controls such as picture boxes that are positioned on a form. The base application is in English. We've translated this application to a number of different languages (French, Spanish, Danish, Greek, etc.) and most recently to Simplified Chinese. The translated application works perfectly on...

regex breaking Chinese string

When i run this code and similar some Chinese the ni (你) character (maybe others) gets chopped of and broken. $sample = "你不喜欢 香蕉 吗"; $parts = preg_split("/[\s,]+/", $sample); var_dump($parts); //outputs array(4) { [0]=> string(2) "�" [1]=> string(9) "不喜欢" [2]=> string(6) "香蕉" [3]=> string(3) "吗" } //in 我觉得 你很 麻烦 //out ...

Is there a way of only modifying Chinese characters through CSS (without affecting Roman characters)?

I noticed that Chinese characters tend to be a bit smaller in my website than Roman characters. I would like to know if there's a way of modifying them through CSS without touching Roman characters. For instance, assigning font-size to only Chinese characters. ...

Split by various delimiters, while keeping the delimiter?

I would like to split a text 过公元年?因为无论你如何选择。简体字危及了对古代文学的研究输入! Using on of these three (or more) ?!。 characters as delimiter. i can do this of course with $lines = preg_split('/[。,!,?]/u',$body); However i wan't to have the resulting lines keep their ending delimiter. Also a sentence might end like so 啊。。。 or 什么!??!!!! ...

What parameters will allow Ghostscript to read font names in Chinese correctly from a PDF?

I tried gswin32c -sDEVICE=jpeg -sOutputFile=foo.jpg foo.pdf but I get the ff. output from Ghostscript on the page where the Chinese font is used. Substituting CID font resource/Adobe-CNS1 for /·s²Ó©úÅé. Error: /undefinedresource in --findresource-- Operand stack: --dict:4/4(L)-- F3 12.96 --dict:6/6(L)-- --dict:6/6(L)-- ·...

using xlrd to read Excel xls file containing Chinese and/or Hindi characters

http://scienceoss.com/read-excel-files-from-python/comment-page-1/#comment-1051 From the above link i use this utility to read an xls file.If the xls contains different language characters like chine or hindi.It does not output the exact wordings.Is there a work around for this.. After googling i found this import xlrd def upload_xls...

MySQL Error #1366 -- Chinese Characters Fail with big5_chinese encoding

The idea: I'm just trying to save some Chinese characters to a MySQL database. The issue: apparently, some save while others don't. I've tried to just put em in via phpMyAdmin, but when I try to save them, they turn out to be question marks "?". The query: UPDATE a9286500_chinese.chinese SET chinese = '贵' WHERE chinese.id =23 LIMIT 1 ;...

Converting chinese to pinyin

I've found places on the web such as http://www.chinesetopinyin.com/ that convert Chinese characters to pinyin (romanization). Does anyone know how to do this, or have a database that can be parsed? EDIT: I'm using C# but would actually prefer a database/flatfile. ...

Chinese text not displaying properly on web page

I am adding some Chinese text to a primarily English web page and am having trouble getting the characters to display properly. I've got the encoding set to UTF-8 in the meta content type tag, and I am copying/pasting the Chinese I was sent from a Word document. The text is still rendering as follows: 繁體中文版 rather than in Chi...

Odyssey 56 wifi dual sim quad

Please could you tell me how to import programmes onto this phone. It has a mediatek 6235 chipset and the operating system is Nucleus rtos. How can you import a pdf reader onto it and a to do list apllication or any organizational things to do, plus translation. many thanks ...

iPhone app name localization (simplified chinese)

I'm attempting to create a localized app, with English and Chinese. I have all the translations in my images. I have localized my image files with the folders zh_CN.lproj and they work perfectly in the app. I have attempted to create an InfoPlist.strings file, and declare the CFBundleDisplayName (I previously did this with a French loca...

Sneaking behind China's Great Firewall : DNS issues

Hi there, I have a website hosted on appengine, and I use my own domain name on it. It appears that mysite.appspot.com can be accessed (I checked on http://just-ping.com) but that mysite.com is blocked. How can I manage that? Edit: I use google apps on my domain, for mail, blogging on subdomain, and redirecting to appengine. These 3 ...

iphone / ipad: Font problem for non-latin languages

Hello All. I have a problem about the font in iphone/ipad Everyone knows UILabel can't do rich text. So I choose FrontLabel http://github.com/zynga/FontLabel/blob/master/README I guess what FrontLabel is doing is something like NSAttributedString and core text framework, and also, it is quite low level. But anyway, I have a problem....