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

Re: Strange 'find' case?



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.

Attachment: pgplSPtN00xmD.pgp
Description: PGP signature


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