Originally posted by thesunlover at 2009-1-4 05:15 AM:
For Yidian renovation purpose, I need to search Chinese words under Unix shell by using tools like grep. How can I convert Chinese words such as 原创 to English text which can be recognized by Unix..
It is not easy to make "grep" work with Chinese. So don't try it.
The best way to do it is to write Perl Scripts. You can also write Java programs.
You don't translate Chinese word to English in order to perform search. Chinese words is just a different coding scheme. You probably need to change the encoding and language setting of your Unix/Linux Shell to make the perl script work.