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

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

 



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!

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nothing says, "Obey me!" like a bloody head on a fence post.
    -- Stewie Griffin

Attachment: pgpBf8vjE7Hiy.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux