Tech Support > Operating Systems > Linux / Variants > problem with character set
problem with character set
Posted by Norbert on March 7th, 2004


Hallo,

I'm using Knoppix (a distribution on CD based on Debian).
The acute character ` (hex. code: b4) is not printed correctly.
The shell prints a '?' instead and emacs another, very strange
looking character.

It is not the keyboard setup (the problem occurs for existing
files as well and I checked the keyboard setup with xev).

/etc/sysconfig/i18n contains the line (among others)
charset = "iso8859-15"
I'm not sure, whether this might be the wrong one. I read that
iso8859-1 is for western europe and iso8859-2 for middle europe
(I'm living in Germany).

Thanks for any help,
Norbert



Posted by Norbert on March 7th, 2004


correction:
of course, the acute character is not the ` (the grave) as written
above but the ´ (not to be mixed up with the apostrophe ')

some more comments:

I changed the character set in the file /etc/sysconfig/i18n
to iso8859-1, which should definitely work
(see http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html)
but the result is the same:

emacs and the X-terminal print a 'Z' with an accent (a greater sign
pointing downwards) instead of an acute. Instead of a brokenbar
(hex. code a6) both print an 'S' with the same accent.
The shell just shows a '?' in both cases.

So the charset chosen in file 'i18n' is not the problem, too.

What might it be?

Norbert



Posted by Markku Kolkka on March 7th, 2004


Norbert wrote:
No, since start of year 2002 iso8859-15 is the right one for Germany and
other Euro-zone countries (-15 is -1 with the Euro currency symbol)

--
Markku Kolkka
markku.kolkka@iki.fi


Similar Posts