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

[debian-users:44321] Re: logファイルの日本語 文字化け



lv で開いてみたのですが、やっぱりファイル名が文字化けします。
"/???u??-???B?????y?j??????????.zip となってしまいます。
やはり日本語はだめなんでしょうか。


Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "PASV" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "227 Entering Passive Mode (192,168,0,11,
246,144)"
Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "LIST" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "150 Here comes the directory listing." Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "226 Directory send OK." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "NOOP" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "200 NOOP ok." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "CWD /" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "250 Directory successfully changed." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "NOOP" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "200 NOOP ok." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "CWD /" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "250 Directory successfully changed." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "PWD" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "257 "/"" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "CWD /" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "250 Directory successfully changed." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "TYPE I" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "200 Switching to Binary mode." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "PASV" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "227 Entering Passive Mode (192,168,0,11,
134,114)"
Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "SIZE ???u??-???B?????y?j??????????.zip" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "213 8229310" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "RETR ???u??-???B?????y?j??????????.zip" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "150 Opening BINARY mode data connection f
or ???u??-???B?????y?j??????????.zip (8229310 bytes)."
Tue Aug 2 20:43:18 2005 [pid 3129] [file] OK DOWNLOAD: Client "192.168.0.6", "/???u??-???B?????y?j??????????.zip", 82293
10 bytes, 9813.53Kbyte/sec
Tue Aug 2 20:43:18 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "226 File send OK."



viでも文字化けです。

Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "230 Login successful." Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "OPTS utf8 on" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "501 Option not understood." Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "SYST" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "215 UNIX Type: L8" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "SITE help" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "214 CHMOD UMASK HELP" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "PWD" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "257 "/"" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "TYPE A" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "200 Switching to ASCII mode." Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "PASV" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "227 Entering Passive Mode (192,168,0,11,
246,144)"
Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "LIST" Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "150 Here comes the directory listing." Tue Aug 2 20:43:11 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "226 Directory send OK." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "NOOP" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "200 NOOP ok." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "CWD /" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "250 Directory successfully changed." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "NOOP" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "200 NOOP ok." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "CWD /" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "250 Directory successfully changed." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "PWD" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "257 "/"" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "CWD /" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "250 Directory successfully changed." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "TYPE I" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "200 Switching to Binary mode." Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "PASV" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "227 Entering Passive Mode (192,168,0,11,
134,114)"
Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "SIZE ???u??-???B?????y?j??????????.zip" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "213 8229310" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP command: Client "192.168.0.6", "RETR ???u??-???B?????y?j??????????.zip" Tue Aug 2 20:43:17 2005 [pid 3129] [file] FTP response: Client "192.168.0.6", "150 Opening BINARY mode data connection f



----- Original Message ----- From: "Kenshi Muto" <kmuto@xxxxxxxx>
To: <debian-users@debian.or.jp>
Sent: Monday, August 01, 2005 12:11 AM
Subject: [debian-users:44283] Re: logファイルの日本語 文字化け


武藤@Debianぷろじぇくとです。

At Sun, 31 Jul 2005 23:19:56 +0900,
kawakami noriaki wrote:
vsftpのログファイル
/var/lob/vsftpd.log を確認していると 日本語名のファイルが文字化けします。
日本語名のファイルをやりとりしたいので そのログを確認したいのです。

具体的にどういうログになってるんですかね。

SJISのファイル名がそのまま入っているということなら、lvのような文字コー
ドの自動認識機能の付いたページャを使えば(lv /var/log/vsftpd.log)済みそ
うですが。
--
武藤 健志@ kmuto @ kmuto.jp
          Debian/JPプロジェクト   (kmuto@debian.org, kmuto@debian.or.jp)
          株式会社トップスタジオ  (kmuto@xxxxxxxxxxxxxxx)
URI: http://kmuto.jp/ (Debianな話題など)



__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/