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 Mon, Aug 05, 2013 at 05:13:08PM +0900, SODA Noriyuki wrote:
> >>>>> 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.

Thanks, new version of the patch attached.

> 
> 
> > Is this locale variant still used?
> 
> I still have some text files which are encoded in COMPOUND_TEXT.

Well, that's not the same as actually using LANG=ja_JP.ct :)

Joerg

Attachment: cldr.diff.xz
Description: Binary data



Home | Main Index | Thread Index | Old Index