On Wed, Dec 03, 2008 at 09:41:16PM +0100, [EMAIL PROTECTED] wrote:
> Hi Josip,
> 
> It get's even more confusing. I've tried a few terminal clients and settings.
> 
> My default locale is as follows:
> 
> LANG=de_DE.UTF-8
> LC_CTYPE="de_DE.UTF-8"
> LC_NUMERIC="de_DE.UTF-8"
> LC_TIME="de_DE.UTF-8"
> LC_COLLATE="de_DE.UTF-8"
> LC_MONETARY="de_DE.UTF-8"
> LC_MESSAGES="de_DE.UTF-8"
> LC_PAPER="de_DE.UTF-8"
> LC_NAME="de_DE.UTF-8"
> LC_ADDRESS="de_DE.UTF-8"
> LC_TELEPHONE="de_DE.UTF-8"
> LC_MEASUREMENT="de_DE.UTF-8"
> LC_IDENTIFICATION="de_DE.UTF-8"
> LC_ALL=
> 
> 
> First I tried with the older version (joe 3.5-1.1), where the output is
> as follows, with the above locale:
> 
> joe MYFILE
> unertrXgliche GebrXll der VXgel.
> 
> joe -guess_non_utf8 MYFILE
> unerträgliche Gebrüll der Vögel.
> 
> LC_ALL=ISO-8859-1 joe MYFILE
> unertr???gliche Gebr???ll der V???gel.
> 
> LC_ALL=ISO-8859-1 joe -guess_non_utf8 MYFILE
> unertr???gliche Gebr???ll der V???gel.
> 
> 
> With version 3.5-2, I get:
> 
> joe-3.5-2 MYFILE
> unertrXgliche GebrXll der VXgel.
> 
> joe-3.5-2 -guess_non_utf8 MYFILE
> unertrdgliche Gebr|ll der Vvgel.
> 
> LC_ALL=ISO-8859-1 joe-3.5-2 -guess_non_utf8 MYFILE
> unertrdgliche Gebr|ll der Vvgel.
>       (where d and | and v are actually in INVERSE TERMINAL COLORS)
> 
> LC_ALL=ISO-8859-1 joe-3.5-2 -guess_non_utf8 MYFILE
> unertrdgliche Gebr|ll der Vvgel.
> 
> 
> I've just copied & pasted all those outputs verbatim from xterm here.
> Everything appeared the same in the real Linux console, and in xterm.
> 
> 
> Also, I've toyed around with gnome-terminal. It's possible to set a
> display charset there. So I've just enabled terminal > charset > ISO-8859-1,
> which is pretty much raw character output:
> 
> joe-3.5-1.1 -guess_non_utf8 MYFILE
> unertr??¤gliche Gebr????ll der V????gel.
> (would display correct on UTF-8 terminal)
> 
> LC_ALL=ISO-8859-1 joe-3.5-1.1 -guess_non_utf8 FORTUNES
> unerträgliche Gebrüll der Vögel.
> (L1 output in gnome-terminal with L1 charset display)
> 
> joe-3.5-2 -guess_non_utf8 MYFILE
> unertrdgliche Gebr|ll der Vvgel.
> (same as before in xterm)
> 
> LC_ALL=ISO-8859-1 joe-3.5-2 MYFILE
> unertrdgliche Gebr|ll der Vvgel.
> 
> joe-3.5-2 -asis MYFILE
> unerträgliche Gebrüll der Vögel.
>     (worked!!!, didn't before in UTF-8 terminal)
> 
> 
> Unsure how to paste the latter back into a text file for a real comparison.
> But it looks to me, that 3.5-1.1 generated correct Latin-1 characters, while
> 3.5-2 didn't (in this Gnome-Terminal with ISO-8859-1 display at least).
> 
> Btw, adding LANG=de_DE.ISO-8859-1 didn't change the above outputs either.
> 
> However, I admit I'm very confused by terminal and locale settings. I barely
> know the difference between charsets and encodings, so  ;-]
> 
> If it get's fixed in 3.7 somehow, I'll just wait for that. Meanwhile I have 
> put
> the older version on hold. So not all that important, I think.

I'm Cc:ing this back to the bug log (please remember to do the same in
further replies).

3.7 will be uploaded shortly, please try it when you see it. I can't
reproduce your terminal exactly because I don't have UTF-8 support at the
moment, but I'll tend to it eventually if you don't beat me to it.

-- 
     2. That which causes joy or happiness.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to