Thomas Karsten <kath0005@hs-niederrhein.de> さんは書きました:
How do I edit a file in ISO-2022-JP encoding, when my mlterm is set to eucJP encoding?
Depends on which editor you are using.
If you run mlterm in ja_JP.eucJP locale and create a text with let's say Vim with the default settings, the file will be EUC-JP encoded.
But if you have a ISO-2022-JP encoded files, you can just use "cat" in an mlterm using EUC-JP encoding and they will be displayed correctly.
I would like to edit a file in ISO-2022-JP encoding as well, not only read. Is this possible?
Yes.
I don't want to write a eucJP encoded text and to convert it afterwards to ISO-2022-JP manually using iconv. This would be no solution fo me.
Not necessary. But the exact procedure how to do that depends on the editor you are using. For example when using vim: vi :e ++enc=iso-2022-jp filename Then edit as usual. When using (X)Emacs: xemacs -nw C-x RET c iso-2022-jp RET C-x C-f filename RET -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。