How to convert Chinese characters to Pinyin

For sorting Chinese language text, I want to convert Chinese characters to Pinyin, properly separating each Chinese character and grouping successive characters together.

Can you please help me in this task by providing the logic or source code for doing this?

Please let me know if any open source or lib already present for this.

19
задан Makoto 12 May 2012 в 17:02
поделиться