
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] using eucjp on Linux
- Date: Mon, 23 Dec 2013 22:33:39 +0100
- From: Christian Horn <chorn@example.com>
- Subject: [tlug] using eucjp on Linux
- User-agent: Mutt/1.5.20 (2009-06-14)
Hello,
I try to get a better understanding on encodings and am puzzled
about the following.
In a utf8 xterm date and outputting utf8 files works fine, also date:
[chris@hive ~]$ echo $LC_ALL
ja_JP.utf8
[chris@hive ~]$ cat test_utf8
日本語
[chris@hive ~]$ date
2013年 12月 23日 月曜日 22:20:21 CET
I converted the file to eucjp, I think I have the locale, but I
fail to get the eucjp encoded file displayed. Also the date out-
out is not correct:
[chris@hive ~]$ LC_ALL=ja_JP.eucjp luit
[chris@hive ~]$ locale charmap
EUC-JP
[chris@hive ~]$ cat test_eucjp
F|K\8l
[chris@hive ~]$ date
2013G/ 127n 23F| 7nMKF| 22:21:45 CET
[chris@hive ~]$ cat test_utf8
f%f,h*
Running these commands in a terminal "xterm -en eucjp".
I think I am missing something.. any ideas?
Christian
Home |
Main Index |
Thread Index