This is the Chinese PinYin / Bopomofo conversion library.
You can easily write an application which handles the Chinese with it.
WWW: http://code.google.com/p/pyzy
WWW: https://github.com/pyzy/pyzy