unknown encoding in CD from ms windows

Felipe Figueiredo philsf at ufrj.br
Mon Oct 2 05:08:53 UTC 2006


Hello,

I am using Kubuntu Dapper here, and have an annoying problem trying to access 
files from a CD recorded in a Windows, because of accents in filenames. 

I *think* the CD was recorded in a windows version previous to XP, as I also 
*think* XP uses UTF-8 (as ubuntu, by default). Enough of thinking.

The CD correctly displays the accentuated filnames in windows XP, but I can't 
get any luck in linux. I tested some encodings with the following cmd:

$ ls /cdrom | iconv -t utf8 -f [encodiing]

where [encoding] was tried to be iso8859-1, latin, and windows-1250 to 1259. 
None of these are the encoding.

Question: is there a way to actually discover the right one, instead of 
trying? Of course I could do a script to try every one listed in "iconv -l", 
but is it too much to ask to exist a way to query the media and ask the 
encoding it is using?




More information about the ubuntu-users mailing list