tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Recreating the locale definitions from CLDR



>>>>> On Sun, 4 Aug 2013 19:01:49 +0200,
 Joerg Sonnenberger <joerg%britannica.bec.de@localhost> said:
> The only locale not touched is ja_JP.ct since I don't know a way for
> creating it. Does someone have a recipe for that?
Yes.
The following command can convert UTF-8 locale definition to the
COMPOUND_TEXT definition:
$ iconv -f utf-8 -t euc-jp < ja_JP.UTF-8.src | iconv -f euc-jp -t ctext > 
ja_JP.ct.src 
Note that the direct conversion like the following CANNOT convert it:
$ iconv -f utf-8 -t ctext < ja_JP.UTF-8.src > ja_JP.ct.src 
So, please use the former command.
> Is this locale variant still used?
I still have some text files which are encoded in COMPOUND_TEXT.
-- 
soda


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /