unknown encoding in CD from ms windows

Lorin Pino ljpino at grm.net
Fri Oct 6 03:30:19 UTC 2006


Felipe Figueiredo wrote:
> On Monday 02 October 2006 02:08, Felipe Figueiredo wrote:
>   
>> 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?
>>
>>     
>
> Ok, so I remembered from my DOS days that there is a "cp860" encoding for my 
> locale, and surprisingly this is what the CD is encoded with. 
>
> The question that remains is:
>
> How can I query the CD's fs to know exactly what encoding it is using?
>
> Anyone?
>
> regards
> FF
>
>   
Since there have been no responses that I have seen, I will show my 
ignorance.  You might check out this project, but I am not sure if it 
sill do exactly what you are after, or not.
http://cdstatus.sourceforge.net/#download
~Lorin

PS.  This link goes to an information page, not a download link as it 
may appear.




More information about the ubuntu-users mailing list