I am testing convmv and need some example non-utf-8 filenames.
Todd Zullinger
tmz at pobox.com
Sat Nov 29 20:03:08 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081129/47cc104d/attachment-0001.sig>
More information about the fedora-list
mailing list