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

2008-11-29 Thread Dan Thurman


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?

Thanks!
Dan

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


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

2008-11-29 Thread Todd Zullinger
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!

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



pgpxlYh6L9muy.pgp
Description: PGP signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

2008-11-29 Thread Dan Thurman

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

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