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

Re: find encoding of filenames



Kamaraju S Kusumanchi:
> 
> Moreover, the original question still remains. Given a bunch of files, how
> do I determine their current encoding?

Just a thought:

$ touch äöüß.éèâ

$ ls -lh äöüß.éèâ
-rw-r--r-- 1 jrschulz jrschulz 0 2007-03-26 18:40 äöüß.éèâ

$ ls -1 > filelist

$ file filelist
filelist: UTF-8 Unicode text, with escape sequences

So saving a directory listing into a file and running the 'file' utility
might help.

J.
-- 
In this bunker there are women and children. There are no weapons.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: