チケット #29361

Non-UTF-8 filenames

登録: 2012-08-27 06:34 最終更新: 2012-08-27 06:34

報告者:
担当者:
チケットの種類:
状況:
オープン [担当者決定済み]
コンポーネント:
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
ファイル:
なし

詳細

IDSgrep assumes UTF-8 throughout. When multiple files are specified, so that output lines are to be prefixed with the filenames enclosed in colons, idsgrep runs the filenames through its escaping code, in order to make sure that the result will be valid EIDS syntax. (In particular, literal colons in the filenames have to be escaped.) This is a problem if running on a non-UTF-8 host, where the filenames might possibly contain forbidden bytes.

We should figure out what happens in this case, and (harder) what SHOULD happen. If possible, it would be preferable to be able to keep the current "we are blind to locales" policy; but without knowing the locale, it's probably not going to be possible to translate the filenames to Unicode in a way that will survive a round trip.

チケットの履歴 (1 件中 1 件表示)

2012-08-27 06:34 更新者: mskala
  • 新しいチケット "Non-UTF-8 filenames" が作成されました

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする