[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
coding-system on ange-ftp
- X-ml-count: 572
- Subject: coding-system on ange-ftp
- From: "T.Fukagawa" <fukagawa@xxxxxxxxxxxxx>
- Date: Wed, 12 May 1999 02:29:12 +0900 (JST)
- X-mailer: cmail 2.59.12 on GNU Emacs 20.2.1 / Mule 3.0 (MOMIJINOGA)
- User-agent: SEMI/1.11.0 (Kanazawa) FLIM/1.12.0 (Amagatsuji) Emacs/20.2 (i386-*-windows95-4.10) MULE/3.0 (MOMIJINOGA) Meadow/1.01 (MIDORI-NO-TAMA)
深川と申します。
Solaris(EUC) のファイルサーバに Meadow から ange-ftp でアクセスしているの
ですが、漢字コードまじりのディレクトリに find-file しようとすると、文字化
けが発生して正しくリスト表示されません。
(1) ---<Start>---
/bruce@xxxxxxxxxxxxxx:/kiwi/usr/bruce/coding:
total 10
drwxr-xr-x 2 bruce member 512 May 12 02:03 1回
drwxr-xr-x 2 bruce member 512 May 12 02:03 2回
drwxr-xr-x 2 bruce member 512 May 12 02:04 3回
---<End>---
上記のように表示されている状態で、「1回」のところで、f を押すと
(2) ---<Start>---
/bruce@xxxxxxxxxxxxxx:/kiwi/usr/bruce/coding/1回:
ls: /kiwi/usr/bruce/coding/1\236\260\363/.: No such file or directory
---<End>---
となってしまいます。そのときの ftp process のバッファは、こうなっています。
(3) ---<Start>---
ftp> ls "-al /kiwi/usr/bruce/coding/1\\222\\262\\363/." c:/tmp/ange-ftpa68761
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
ftp>
---<End>---
ls で指定しているディレクトリがすでに正しくないので、(2) の結果になってし
まっていると思うのですが、どの coding-system をどのように設定すればよいの
でしょうか。
ftp process の バッファで、describe-current-coding-system を実行したときの
結果は、下記の通りです。
(4) ---<Start>---
Coding system for saving this buffer:
Not set locally, use the default.
Default coding system (for new files):
S -- sjis-dos (alias of japanese-shift-jis-dos)
Coding system for keyboard input:
S -- sjis (alias of japanese-shift-jis)
Coding system for terminal output:
S -- sjis (alias of japanese-shift-jis)
Coding systems for process I/O:
encoding input to the process: S -- sjis-dos (alias of japanese-shift-jis-dos)
decoding output from the process: S -- sjis-dos (alias of japanese-shift-jis-dos)
Defaults for subprocess I/O:
decoding: S -- sjis-dos (alias of japanese-shift-jis-dos)
encoding: S -- sjis-dos (alias of japanese-shift-jis-dos)
Priority order for recognizing coding systems when reading files:
1. iso-2022-7bit
2. japanese-iso-8bit (alias: euc-jp euc-japan euc-japan-1990)
3. japanese-shift-jis (alias: sjis shift_jis)
4. iso-latin-1 (alias: ctext latin-1 iso-8859-1)
5. iso-2022-7bit-lock (alias: iso-2022-int-1)
6. emacs-mule
7. raw-text
8. chinese-big5 (alias: cn-big5 big5)
9. 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-7bit:
iso-2022-jp
The followings are decoded correctly but recognized as iso-2022-7bit-lock:
iso-2022-7bit-ss2 iso-2022-7bit-lock-ss2 chinese-iso-7bit korean-iso-7bit-lock
Particular coding systems specified for certain file names:
OPERATION TARGET PATTERN CODING SYSTEM(s)
--------- -------------- ----------------
File I/O "\\.elc$" (no-conversion . no-conversion)
"\\(\\`\\|/\\)loaddefs.el$"(no-conversion . no-conversion)
"\\.tar$" (no-conversion . no-conversion)
"" (undecided)
Process I/O nothing specified
Network I/O "nntp" (junet-unix . junet-unix)
110 (no-conversion . no-conversion)
25 (no-conversion . no-conversion)
---<End>---
---
T.Fukagawa
fukagawa@xxxxxxxxxxxxx
CEC00750@xxxxxxxxxxxxxxxx