Eleanor Batchelder
Eleanor Batchelder

Reputation: 31

How to convert old Japanese text encodings?

I run MacBook Pro under 10.6.7, and I am competent in Unix. I have old Japanese text files in various encodings (EUC, SJS, New-JIS) that I can no longer read or display. The old program jconv.c does not help, since it only converts among these encodings. Is there a way to convert them (or any one of them) to the current "normal" Japanese text that can be seen in TextEdit, etc.? I have set the Terminal preferences to SJS and EUC (can't find NewJIS), among others, including UTF-8. Eleanor

Upvotes: 3

Views: 308

Answers (2)

kmugitani
kmugitani

Reputation: 615

nkf is a Linux command line program which can meet your requirement. I am sure it is available at Debian. So you can download sorce code from the Net.

Upvotes: 1

onteria_
onteria_

Reputation: 70487

I recommend you look into iconv for doing such conversions.

Upvotes: 4

Related Questions