Subj : Re: Need volonteers to test another patch To : Wilfred van Velzen From : Vitaliy Aksyonov Date : Sun Mar 24 2024 11:12 am Hello Wilfred. 23 Mar 24 13:57, you wrote to me: WvV>>> Btw: My terminal seems fine with displaying the CP850 high WvV>>> ascii characters (despite the warning): WvV>>> https://paste.opensuse.org/pastes/8bcb9d2ecfdf VA>> Looks like your luit doesn't support CP850 or you don't have VA>> en_US.CP850. There are some encodings which luit list, but VA>> doesn't support actually. For example, mine lists CP866, but VA>> doesn't work with it. VA>> Does it present in `locale -a` output? WvV> I don't know if that says much, because mostly there are just the WvV> xx_XX and xx_XX.utf8 versions of the encodings. To give you a sample: WvV> # locale -a | grep en_ [...skipped...] WvV> Does this mean there is just an utf8 charset and an unspecified one WvV> for almost every language-country? That doesn't seem logical! It just mean that your system doesn't have necessary locale installed. And that perfectly explain why luit shows all chars, but GoldEd doesn't. Luit converts them using internal tables to UTF, but GoldEd tries to use en_EN.CP850, which is missing. That's why it doesn't understand that letters with codes > 127 are letters. You need to install or generate this locale and GoldEd will show those letters! What Linux distribution do you use? Do you need help with locale generation? WvV> Doesn't this show you what encodings luit supports: WvV> # luit -list WvV> Known locale encodings: WvV> C: GL -> G0, GR -> G2, G0: ASCII, G2: ISO 8859-1 WvV> POSIX: GL -> G0, GR -> G2, G0: ASCII, G2: ISO 8859-1 WvV> US-ASCII: GL -> G0, GR -> G2, G0: ASCII, G2: ISO 8859-1 WvV> ... WvV> CP850: GL -> G0, GR -> G2, G0: ASCII, G2: CP 850 WvV> ... WvV> Known charsets (not all may be available): WvV> ISO 646 (1973) (ISO 2022, 94 codes) WvV> ASCII (ISO 2022, 94 codes) WvV> ... WvV> CP 437 (128 codes) WvV> CP 850 (128 codes) WvV> CP 852 (128 codes) WvV> ... WvV> So luit seems to know about CP850... Yes. And that's good! VA>> Have you tried to run that script without luit? You don't even VA>> need to change locale for it - just encoding in terminal. WvV> https://paste.opensuse.org/pastes/574e349fadaf WvV> So without luit it doesn't display anything useful. With luit, WvV> although you get the warning, it does display the right characters for WvV> CP850 !? Yep. I meant to run that script without luit in terminal configured for CP850. But you don't need to do that anymore as long as we found root cause already. Vitaliy .... 640K ought to be enough for anybody --- GoldED+/LNX 1.1.5-b20240305-beta * Origin: Aurora, Colorado (1:104/117) .