Lisp HUG Maillist Archive

Displaying Unicode characters in Listener and Editor

Hi,

I'm running LWW 4.2 on Windows 98.

From time to time I work with strings containing characters
beyond the Latin-1 range (with character codes >= 256).
Unfortunately, those characters are always displayed as 
question marks, even when I select a font (like Lucide Console) 
that can perfectly well display those characters.

In older versions of Lispworks (I'm not sure about 4.1, but I
definitely remember doing this in 4.0.x) this used to work perfectly.

Does anybody have any suggestions for how I can get this to work again?

Thanks a lot,

Arthur Lemmens


Re: Displaying Unicode characters in Listener and Editor

Unable to parse email body. Email id is 277

Re: Displaying Unicode characters in Listener and Editor

davef@xanalys.com writes:

>    I'm running LWW 4.2 on Windows 98.
> 
>    >From time to time I work with strings containing characters
>    beyond the Latin-1 range (with character codes >= 256).
>    Unfortunately, those characters are always displayed as 
>    question marks, even when I select a font (like Lucide Console) 
>    that can perfectly well display those characters.
> 
>    In older versions of Lispworks (I'm not sure about 4.1, but I
>    definitely remember doing this in 4.0.x) this used to work perfectly.
> 
>    Does anybody have any suggestions for how I can get this to work again?
> 
> In LWW 4.0.1 and 4.1, we used the Win32 Unicode API TextOutW which
> displays all Unicode characters.
> 
> However we found it to be broken with certain fonts on Chinese Windows
> 95 and therefore from LWW4.1.17 onwards we've used TextOutA on Windows
> 95/98/ME. Unicode display is still OK the Windows NT platforms, but on
> Windows 95/98/ME, LWW displays characters in the current code page
> only. (This applies to capi:list-panel and capi:editor-pane at least;
> it's possible that other classes may still do Unicode display.)
> 
> We'd be happy to investigate using the 'W' API again. It's the sort of
> thing that would constitute a chargeable support call.

How about Linux?  Should it somehow be possible to display Unicode
characters (using a Unicode font)?  I tried several times, but lost...

Regards,
-- 
Nils Goesche
"Don't ask for whom the <CTRL-G> tolls."

PGP key ID 0x42B32FC9


Re: Displaying Unicode characters in Listener and Editor

Unable to parse email body. Email id is 279

Updated at: 2020-12-10 09:02 UTC