Mailing List Archive


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

Re: [tlug] using eucjp on Linux



On Tue, Dec 24, 2013 at 08:36:38AM +0100, Christian Horn wrote:
> On Tue, Dec 24, 2013 at 01:22:08PM +0900, Kalin KOZHUHAROV wrote:
> > 
> > Can you try the following in this terminal:
> > `LC_ALL=ja_JP.eucjp date|iconv -f eucjp`
> > `LC_ALL=ja_JP.eucjp date|xxd`
> 
> [chris@hive ~]$ LC_ALL=ja_JP.eucjp date|iconv -f eucjp
> 2013年 12月 24日 火曜日 08:15:31 CET
> [chris@hive ~]$ LC_ALL=ja_JP.eucjp date|xxd
> 0000000: 3230 3133 c7af 2031 32b7 ee20 3234 c6fc  2013.. 12.. 24..
> 0000010: 20b2 d0cd cbc6 fc20 3038 3a31 353a 3438   ...... 08:15:48
> 0000020: 2043 4554 0a                              CET.
> 
> The xxd output is the same as for "LC_ALL=ja_JP.utf8 date|xxd"
> so seems like the LC_ALL=ja_JP.eucjp has no effect?

Ah, I pasted the output correctly, but it _is_ different from
the utf8 locale:

[chris@hive ~]$ LC_ALL=ja_JP.utf8 date|xxd
0000000: 3230 3133 e5b9 b420 3132 e69c 8820 3234  2013... 12... 24
0000010: e697 a520 e781 abe6 9b9c e697 a520 3038  ... ......... 08
0000020: 3a34 383a 3130 2043 4554 0a              :48:10 CET.
[chris@hive ~]$ LC_ALL=ja_JP.eucjp date|xxd
0000000: 3230 3133 c7af 2031 32b7 ee20 3234 c6fc  2013.. 12.. 24..
0000010: 20b2 d0cd cbc6 fc20 3038 3a34 383a 3133   ...... 08:48:13
0000020: 2043 4554 0a                              CET.

Christian


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links