| From: Niall Donegan <doneagain at csn.ul.ie>
| Date: Thu, 28 Jul 2005 16:17:16 +0100 (IST)
| When trying to put a £ symbol in a file on a remote RHEL3
| machine, I constantly get a £ symbol preceded by a capital
| A with a little hat on it. [ ... ] Has anyone here had
| a similar problem, and if so, how was it resolved?
this is the classic symptom that something,
somewhere, either cannot handle UTF-8 (and
is interpreting the byte-stream as either
ISO-8859-1 or -15 (usually)); or something,
somewhere, does not have the right locale
charset (e.g., is using ISO-8859-1/15 and
not UTF-8 for the locale).
basically, what is happening is something,
somewhere, is interpreting the two bytes that
make up the UTF-8 encoding of £ as two separate
one-byte characters (which in turn are treated
as being ISO-8859-1/15). and in this case, it
just so happens the 2nd byte of the UTF-8 is
the correct ISO-8859-1/15 byte for £, which
slightly confuses the issue. the 1st byte is
yer Å or Â or whatever it is.
Experienced (20+ yrs) kernel/software Eng: | Brian Foster Montpellier,
• Unix, embedded, &tc; • Linux; • doc; | blf at utvinternet.ie FRANCE
• IDL, automated testing, process, &tc. | Stop E$$o (ExxonMobile)!
Résumé (CV) http://www.blf.utvinternet.ie | http://www.stopesso.com
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!