Subj : Re: Need volonteers to test another patch
To   : Wilfred van Velzen
From : Vitaliy Aksyonov
Date : Fri Mar 22 2024 07:04 am

Hello Wilfred.

22 Mar 24 10:45, you wrote to me:

WvV>> I'm still seeing an issue with some messages in German areas.
WvV>> For
WvV>> instance:

WvV>> https://paste.opensuse.org/pastes/0cc6a7ecd695

WvV>> Some characters are displayed as '~A', where they should be able
WvV>> to be displayed in their right form, while others are displayed
WvV>> correctly.

WvV>> The two High ascii characters in the marked area are:

WvV>> \x81 ; latin small letter u with diaeresis
WvV>> \xE1 ; greek small letter beta (here used as german ss)

WvV>> The last character in the line, an 'e', isn't even displayed,
WvV>> probably because of the expansion of 1 of the characters to 2
WvV>> characters.

WvV>> These characters are the same in CP437 and CP850. So my CP850
WvV>> terminal should display them correctly. It seems to come from
WvV>> Golded itself, or maybe the ncurses library, because it doesn't
WvV>> matter if I use luit for starting Golded or not, or running it
WvV>> in my remote putty terminal, or my local konsole terminal. The
WvV>> \x81 character is always displayed as ~A ... Strange!?

WvV> Btw: My terminal seems fine with displaying the CP850 high ascii
WvV> characters (despite the warning):

WvV> https://paste.opensuse.org/pastes/8bcb9d2ecfdf

Looks like your luit doesn't support CP850 or you don't have en_US.CP850. There are some encodings which luit list, but doesn't support actually. For example, mine lists CP866, but doesn't work with it.

Does it present in `locale -a` output?

Have you tried to run that script without luit? You don't even need to change locale for it - just encoding in terminal.

Vitaliy

... 640K ought to be enough for anybody
--- GoldED+/LNX 1.1.5-b20240305-beta
* Origin: Aurora, Colorado (1:104/117)