GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
c2t(1) FreeBSD General Commands Manual c2t(1)

c2t - translates GB/Big5 encoding to tone pinyin et al (chinese)

c2t [-D dictionary] [-k|c file_name] [-m]

Translates from stdin chinese characters to stdout by default in pinyin.

Programmed by Tommi Kaikkonen (tommi@phoenix.oulu.fi) in 1992. Improved by Katya Ta (ta_k@maths.su.oz.au).

-D dictionary
Seems to work fine for gb & big5 dictionaries with the corresponding input. Default: /usr/sbin/lib/cxterm/dicts/TONEPY.tit
-k
Keep - keep any characters not found ie. print them to stdio. Default: displays ???
-c file_name
Character file of not found characters; not with -k!
-m
Multisearch - displays all possible matches of characters instead of just the first match.

hz2gb < hzfile | c2t | cless

c2t < gbfile > pinyinfile

Used as translation dictionnary. Configured in c2t.c DICT string.
Other dictionaries can be used instead of the default one with the command line switch -D dictionary_file_name.

hz2gb(1)

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.