Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Translating old to new kanji forms using tr
- Date: Tue, 28 Jun 2005 22:28:29 +0900
- From: David Riggs <dariggs@example.com>
- Subject: [tlug] Translating old to new kanji forms using tr
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2
I need to go back and forth between the old (旧字) and the modern kanji forms. I have a list of corresponding old and new form and the the stardard utility "tr" works fine for a test case: echo 仏 | tr 仏 佛 Gives back 佛 just fine. But as soon as I get more than a handful of characters in the two translation pair lists I get random answers that make no sense. I am setting up a script that simply feeds "tr" the two long lists that I have stuffed into two variables. But I have tried testing "tr" outside of the script and get the same weird results. I am running very standard Debian Sarge 3.1, starting up X with export XMODIFIERS="@example.com=kinput2" LC_CTYPE=ja_JP.UTF-8 Which seems to make all the usual utilities work just fine with kanji inside the "konsole" (or plain old xterm as far as that goes). Anybody tried to do this kind of stuff with "tr"? Or have another solution? Thanks, David Riggs Kyoto
- Follow-Ups:
- RE: [tlug] Translating old to new kanji forms using tr
- From: Danny Wilde
- Re: [tlug] Translating old to new kanji forms using tr
- From: Stephen J. Turnbull
- Re: [tlug] Translating old to new kanji forms using tr
- From: Brett Robson
Home | Main Index | Thread Index
- Prev by Date: [tlug] Speakers for the next TLUG technical meeting
- Next by Date: RE: [tlug] Translating old to new kanji forms using tr
- Previous by thread: [tlug] Speakers for the next TLUG technical meeting
- Next by thread: RE: [tlug] Translating old to new kanji forms using tr
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links