Mailing List Archived Message #205

From: "Lewis" <> Full Headers
Undecoded message
Subject: Re: [lswitcher-dev] lSwitcher-2-93-0-RC_6.wpi
Date: Sat, 14 Aug 2021 23:04:38 -0400
To: lSwitcher Developers Mailing List <>


On 08/14/21 04:04 pm, Gregg Young wrote:
On Sat, 14 Aug 2021 20:59:39 +0100 Alfredo Fernández Díaz wrote:
Hi Gregg,

On 2021/08/14 18:57, Gregg Young wrote:

It also changes the codepage to 1208. Hopefully this will fix the bad
characters on
install to a Russian system Alfred reported on the AN testers site.
If you mean change the codepage in the WarpIN script, I tried that on
my own and it breaks even more things so please hold off it for now --
I didn't get round to following up on the testers list yet, sorry about
I already did this in RC_6 and now see the problem. The problem you originally had was since the codepage was not set in the lSwitcher wis it defaulted to the system page which in your case was 866.

The problem with using code page 1208 is it needs a unicode aware font. WanSans isn't. RC 6a should work on a Russian system. Thanks

Changing the codepage isn't enough. The content needs to be converted to UTF-8 (it was still CP850). I extracted the script and ran it through iconv:

iconv -f 850 -t UTF-8 lSwitcher-2-93-0-RC_6.wis > lSwitcher-2-93-0-RC_6a.wis

This gave me a UTF-8 script, which properly renders Ulrich's name and which then matches what's in the WarpIN db (no error report of missing XWP).

WarpSans is perfectly capable of rendering " ö", BTW.

Remember the way this UTF-8 conversion works:

WarpIN reads a UTF-8 script and converts to the system codepage. Using UTF-8 allows us to include language strings which would otherwise be from multiple codepages (and would thus not render properly). The tougher ones are DBCS, however, but they're not impossible (see TIMESET for examples).

Strings which appear in REXX and used to dynamically swap into the script output are also entered in UTF-8. the resulting strings (UTF-8) are then likewise converted to system codepage when variables are expanded in the script.

UTF-8 WIS, attached.
Attached File:  lSwitcher-2-93-0-RC_6a.wis (7701 bytes)

Subscribe: Feed, Digest, Index.
Mail to ListMaster