LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] it started out as a question about the find utility

[ILUG] it started out as a question about the find utility

Conor McDermottroe lists at mcdermottroe.com
Sun Apr 11 00:42:45 IST 2004


On Sat, 2004-04-10 at 23:22, bryan hunt wrote:
> I'm running Redhat enterprise linux 3.0, anyone with a better knowledge 
> ( mine is non-existant ) of charactersets and all that crap have any 
> idea what I'm doing wrong ?

I don't use Redhat, but my guess is as follows:

Either:
1) There is a mismatch in locales somewhere
   (e.g. your manpages are in UTF-8 and you're trying to use an
    ISO-8859-1 locale)
Or
2) Your tools, or at least man and pstree, do not correctly handle 
   non-ASCII characters.

I would say that the first situation is more likely as [1] leads me to
believe that RedHat uses UTF-8 in at least some of its incarnations.

To find out what locale you're trying to use try the following:
$ locale
or
$ echo $LANG

Finding out what character set was used for the manpage might be a
little trickier. A quick and dirty way of finding out is to try a couple
of these:

$ env LANG=en_US.ISO8859-1 man find
$ env LANG=en_US.UTF-8 man find
$ env LANG=C man find
$ env LANG=en_US.ISO8859-1 pstree -a
... etc

>From those you should be able to find some locales that work well for
you. The page at [2] may also be of some use particularly the link
``timeline summary''.

Hope this gives you a better idea about what is going wrong.

-C

[1] http://linuxmafia.com/faq/RedHat/rh-locale.html
[2] http://www.iol.ie/~padraiga/docs/utf8.html



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell