Mailing List Archive


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

[tlug] using eucjp on Linux



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

Home Page Mailing List Linux and Japan TLUG Members Links