[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
Re: [1.07b1] raw-text problem(?) with ange-ftp
- X-ml-count: 1328
- Subject: Re: [1.07b1] raw-text problem(?) with ange-ftp
- From: Tomotaka SUWA (諏訪 友崇) <cooper@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 07 Oct 1999 15:20:11 +0900 (JST)
- X-mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.1 (葵)
諏訪です。
From: Keiichi Suzuki <keiichi@xxxxxxxxx>
Subject: Re: [1.07b1] raw-text problem(?) with ange-ftp
Date: 07 Oct 1999 14:45:22 +0900
> 諏訪> Meadow-1.07b1 で ange-ftp を使い、リモートホスト上の raw-text-unix
> 諏訪> な既存ファイルを開いて日本語を入力しようとすると、文字化けが発生し
> 諏訪> ました。ローカルにある raw-text-{dos|unix} なファイルは、正常に日
> 諏訪> 本語を入力することができます。
>
> これは、 SKK を使って入力しているときのことでしょうか?
> また、この状態で [HELP] C (describe-coding-system) した結果を教えてくだ
> さい。
SKK で確認し、後で MS-IME も試しましたが、文字化けが発生しています。こ
の状態の [HELP] C の内容を添付しておきます。
> ところで、このファイルは特に coding-system を指定しないで開いており、そ
> れが文字化けせずに開くことができているということでしょうか?
すみません。説明不足でした。例えば、リモートホスト側で
foo@solaris_or_linux:% echo a > raw-text-unix[RET]
として作ったファイルを Meadow(ange-ftp) で開いた場合です。このファイル
に日本語を入力すると文字化けが発生しますが、ローカルで
C:\TEMP>echo a > raw-text-dos[RET]
として作ったファイルに日本語を入力する場合には、文字化けが発生しません。
# ange-ftp 経由でも、新規ファイルの場合にはこの問題は発生しません。
> 諏訪> ということでした。こちらの環境では MS-IME で入力しても化けます。
>
> (set-keyboard-coding-system 'shift-jis) を評価するといかがでしょうか?
~/.emacs に
(mw32-ime-initialize)
(setq default-input-method "MW32-IME")
(set-keyboard-coding-system 'sjis)
を設定しています。
他に何か足りない情報がありましたら御指摘下さい。よろしくお願いします。
-- Tomotaka SUWACoding system for saving this buffer:
t -- raw-text-unix
Default coding system (for new files):
S -- japanese-shift-jis (alias: shift_jis sjis)
Coding system for keyboard input:
S -- sjis (alias of japanese-shift-jis)
Coding system for terminal output:
nil
Defaults for subprocess I/O:
decoding: - -- undecided-dos
encoding: S -- sjis-dos
Priority order for recognizing coding systems when reading files:
1. iso-2022-jp (alias: junet)
2. japanese-iso-8bit (alias: euc-japan-1990 euc-japan euc-jp)
3. japanese-shift-jis (alias: shift_jis sjis)
4. iso-2022-jp-2
5. iso-latin-1 (alias: iso-8859-1 latin-1)
6. iso-2022-7bit
7. iso-2022-8bit-ss2
8. emacs-mule
9. raw-text (alias: mew-cs-text mew-cs-text-lf mew-cs-text-crlf mew-cs-text-cr)
10. chinese-big5 (alias: big5 cn-big5)
11. no-conversion (alias: binary)
Other coding systems cannot be distinguished automatically
from these, and therefore cannot be recognized automatically
with the present coding system priorities.
The followings are decoded correctly but recognized as iso-2022-jp-2:
iso-2022-7bit-ss2 iso-2022-7bit-lock iso-2022-7bit-lock-ss2 iso-2022-cn
iso-2022-cn-ext iso-2022-kr
Particular coding systems specified for certain file names:
OPERATION TARGET PATTERN CODING SYSTEM(s)
--------- -------------- ----------------
File I/O "\\.elc$" (emacs-mule . emacs-mule)
"\\(\\`\\|/\\)loaddefs.el$"
(no-conversion . no-conversion)
"\\.tar$" (no-conversion . no-conversion)
"" (undecided)
Process I/O nothing specified
Network I/O nothing specified