Strange 'find' case?

Todd Zullinger tmz at pobox.com
Sat Nov 15 21:15:09 UTC 2008


Dan Thurman wrote:
> So, my question is, how do I get around this issue - to either write
> a  script to convert these files to a `sane' encoded characters or
> change  something like the Language environment that the OS can
> handle any encoded file names?

The default charset used for files is utf-8.  The convmv program can
help you convert filenames from one encoding to another.

If you have filenames that are using ISO-8859-1 (Latin-1), for
example, you might be able to make find happy using something like
this:

LANG=en_US.iso88591 find ...

But fixing the encodings of the filenames seems like a far better
solution.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
But I have grown older, and you have grown colder.  And nothing is
very much fun, anymore.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20081115/cb87a5c0/attachment-0001.bin 


More information about the users mailing list