I am testing convmv and need some example non-utf-8 filenames.

Dan Thurman dant at cdkkt.com
Sat Nov 29 20:55:01 UTC 2008


Todd Zullinger wrote:
> Dan Thurman wrote:
>   
>> I have been scratching my head and tried all sorts of what I
>> thought were non-utf-8 filenames but I am never sure that
>> the filenames that I have tried are truly non-utf-8 filenames.
>>
>> ... and yes, I have searched everywhere in the Internet looking
>> and trying all sorts of filenames but was unable to get conmv
>> to recognize and convert them in my scripts.
>>
>> So, can anyone here provide me some sample filenames I can try?
>>     
>
> Why not use convmv to convert some files *from* utf8 to some other
> charset first?  For example,
>
> $ touch /tmp/æ-convmv-test
> $ convmv --notest -f utf8 -t iso8859-1 /tmp/æ-convmv-test 
> Your Perl version has fleas #37757 #49830 
> mv "/tmp/æ-convmv-test" "/tmp/?-convmv-test"
> Ready!
>
> To convert it back again:
>
> $ convmv --notest -t utf8 -f iso8859-1 /tmp/*-convmv-test 
> Your Perl version has fleas #37757 #49830 
> mv "/tmp/?-convmv-test" "/tmp/æ-convmv-test"
> Ready!
>   
Oh, yeah! never crossed my mind! Geez, numbskull that I am!

Thanks!
Dan




More information about the fedora-list mailing list