Odd chrs in filenames

Basil Chupin blchupin at iinet.net.au
Sun Jan 9 00:24:48 UTC 2011


On 09/01/2011 10:51, rikona wrote:
> I have hundreds of classical music files with what seems to be foreign
> chrs in the file name. It is not possible to copy these to a backup -
> it says 'file does not exist' but gives the name with some 'black
> diamond' chrs in the name. I'm assuming these diamonds are the chrs it
> does not know what to do with. I have to skip the file to continue.
> There may be a thousand+ of these chrs - too many to do by hand. I
> tried skipping manually, and it became clear this would take a VERY
> long time, and I would still not get a copy.
>
> Is there a way to semi-automatically change these chrs to their
> 'nearest good chr' so it would be approximately readable correctly in
> English, AND the comp would like the name? :-)
>
> Thanks,
>
>   rikona


Has to do with the char set you are using on your computer. You are 
probably using UTF-8 but the chars you see as "diamond" will be 
displayed correctly if you switch over to Western (ISO 8859-1). (Or try 
the reverse to what I just stated.)

BC

-- 
"Opinions are like assholes - everyone has one."
            Inspector "Dirty Harry" Callahan





More information about the ubuntu-users mailing list