From: "=?UTF-8?Q?Alfredo_Fern=c3=a1ndez_D=c3=adaz?=" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 2280300 for lswitcher-dev@2rosenthals.com; Sun, 15 Aug 2021 16:20:40 -0400 Received: from [192.168.200.201] (port=47267 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mFMcR-0006FE-09 for lswitcher-dev@2rosenthals.com; Sun, 15 Aug 2021 16:20:31 -0400 Received: from sonic314-20.consmr.mail.ir2.yahoo.com ([77.238.177.146]:32898) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mFMcL-0007wc-1B for lswitcher-dev@2rosenthals.com; Sun, 15 Aug 2021 16:20:25 -0400 X-SASI-Hits: BODY_SIZE_3000_3999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, DKIM_ALIGNS 0.000000, DKIM_SIGNATURE 0.000000, FROM_NAME_PHRASE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, KNOWN_MSGID 0.000000, KNOWN_MTA_TFX 0.000000, LEGITIMATE_SIGNS 0.000000, LINK_TO_IMAGE 0.000000, MSG_THREAD 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, REFERENCES 0.000000, SENDER_NO_AUTH 0.000000, SXL_IP_TFX_WM 0.000000, WEBMAIL_SOURCE 0.000000, __ANY_URI 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DKIM_ALIGNS_1 0.000000, __DKIM_ALIGNS_2 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_WEBMAIL 0.000000, __FRAUD_WEBMAIL_FROM 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FROM_UTF_Q 0.000000, __FROM_YAHOO 0.000000, __FUR_RDNS_YAHOO 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_X_MAILER 0.000000, __HEADER_ORDER_FROM 0.000000, __IN_REP_TO 0.000000, __MAIL_CHAIN 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_MSGID 0.000000, __MOZILLA_USER_AGENT 0.000000, __PHISH_SPEAR_HTTP_RECEIVED 0.000000, __PHISH_SPEAR_STRUCTURE_1 0.000000, __PHISH_SPEAR_STRUCTURE_2 0.000000, __RDNS_WEBMAIL 0.000000, __REFERENCES 0.000000, __SANE_MSGID 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_MAILTO 0.000000, __URI_NO_WWW 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 7% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 4.1.4, AntispamData: 2021.8.15.195415 X-SASI-Hits: BODY_SIZE_3000_3999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, DKIM_ALIGNS 0.000000, DKIM_SIGNATURE 0.000000, FROM_NAME_PHRASE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, KNOWN_MSGID 0.000000, KNOWN_MTA_TFX 0.000000, LEGITIMATE_SIGNS 0.000000, LINK_TO_IMAGE 0.000000, MSG_THREAD 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, REFERENCES 0.000000, SENDER_NO_AUTH 0.000000, SXL_IP_TFX_WM 0.000000, WEBMAIL_SOURCE 0.000000, __ANY_URI 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DKIM_ALIGNS_1 0.000000, __DKIM_ALIGNS_2 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_WEBMAIL 0.000000, __FRAUD_WEBMAIL_FROM 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FROM_UTF_Q 0.000000, __FROM_YAHOO 0.000000, __FUR_RDNS_YAHOO 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_X_MAILER 0.000000, __HEADER_ORDER_FROM 0.000000, __IN_REP_TO 0.000000, __MAIL_CHAIN 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_MSGID 0.000000, __MOZILLA_USER_AGENT 0.000000, __PHISH_SPEAR_HTTP_RECEIVED 0.000000, __PHISH_SPEAR_STRUCTURE_1 0.000000, __PHISH_SPEAR_STRUCTURE_2 0.000000, __RDNS_WEBMAIL 0.000000, __REFERENCES 0.000000, __SANE_MSGID 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_MAILTO 0.000000, __URI_NO_WWW 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 7% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 4.1.4, AntispamData: 2021.8.15.195415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1629058823; bh=yxGw6sY2iMXIqGiIuZJwS7X0knJwWJY3UMre3BkPUcY=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject:Reply-To; b=eWTBs/wqLD9AzKWBXmv3Ro/vLlPVWswAFg80fWShb0WkNOv7licO1gkyA726rYUwm3K07ySAhEUEqSKLH6R0H9QEJM94oGyxYQJQ4wMMErj8m7jvYyPqz84S9x+1Ad/e/VE2pmBciHVlXOg+ilQglS7m3cG8J/RXIpq5iZ22aRPUU0Tz0bAdDGMT02pan7YxLEfg5s5yIb2P8tbzUrQoqJFnVaubofLRWmOfnPc+Xz15eZURZMQHviMqDhgyuEzJCCH05UV55LYQ1BTJHH/ODb//MQuNjiIP04jIHrCnd5gvLaFtrLqvjIofEGbDp8s/yP32sTbnYIqonh74F7oXiQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629058823; bh=jMQawAayN4DqcUhD3/LjBOOIIuptJkvqvDTTK94XXU/=; h=X-Sonic-MF:Subject:To:From:Date:From:Subject; b=M4E+yjwkxUe504LU+lgFi6dMYQTPpZqNyyCGxJwPWQLPmbXMPwa1bGWGmxeWrKJ6DrMOhf8ZK/RlRpmIaNekpKnVOao+hVy2rMPmCJf42xXPqKdl6lbr0cYxIpxPg/X+FvRQwsdQ/Xc5X6tIeQaXMWz7alWsTPwCChafRSga/q+90K2Ue4GHsLSnXEcT75VGnaCmTIuIk/9qLCtAFuc1JDVMFTUS81/RZ7kLg/pB72F4iBSBWspzAItxqZV0cWSEQIHFDR+Eu1SF5Oa72AjoXpXQL59+744tfJ8bqI+iG8EG/YWZXy2eBqJWQudYP9HGcktVrT66N2bGnOiSuTqr1w== X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ir2.yahoo.com with HTTP; Sun, 15 Aug 2021 20:20:23 +0000 Received: by kubenode514.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 74115b8c0d72b041dbc5de3a64883430; Sun, 15 Aug 2021 20:10:19 +0000 (UTC) Subject: Re: [lswitcher-dev] lSwitcher-2-93-0-RC_6.wpi To: lSwitcher Developers Mailing List References: Message-ID: <611982B8.4040504@yahoo.es> Date: Sun, 15 Aug 2021 22:10:16 +0100 User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: WebService/1.1.18850 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 3453 Hi, On 2021/08/15 20:36, Lewis wrote: > Hi... > > On 08/15/21 08:57 am, Alfredo Fern�ndez D�az wrote: >> Lewis, did you notice I reported this was a problem that showed up /on a >> Russian system/, and nowhere else? -- Ulrich's name was always properly >> processed and rendered on my main system (main CP always 850). >> > > You got me there. :) > I was only testing in English. My first go-round told me that XWP was not installed, > as it couldn't match Ulrich's name in the db. Now this is unexpected, so maybe it's also interesting. Was English the system language? What were the codepage settings? What lswitcher were you trying you to install, exactly? How was Ulrich's surname spelled in the warning message? And in WarpIN's database mode? Can you reproduce that? > Once I converted the script to UTF-8, all was right with the world. "Works for me" uh? :) >> Now, let's convert the WIS to UTF (and change its CODEPAGE attribute >> accordingly), and fire up WarpIN on that again: see lsw@ru_CP850.png, look >> at my name again. >> >> That is a UTF conversion problem, which may or may not be related to the one >> I reported initially, but we definitely brought it up converting the WIS to >> CP 1208 aka UTF8. >> > > The WarpIN source says that we handle extracted files (EXTRACTFROMPCK) like so: > > > So, we convert the CP850 Readme to UTF-8. So far, so good. However, when we > then need to convert to the display codepage (CP866, in this case), we run > into a slight problem (note that Readme.UTF8 is the original readme which I > converted via iconv): > > [j:\] iconv -f UTF-8 -t 866 Readme.UTF8 > Readme.866 > iconv.exe: Readme.UTF8:108:12: cannot convert > > Line 108, char 12 is "�" in your name. Correct. > Hmmm... I'm not sure what to do here. Why do something, except maybe archive for future reference? -- it is just a classic limitation of old IBM's codepages, and there is little possible reward in addressing it for its own sake. > There is a WarpIN preference for display codepage, which defaults to process > codepage. However, on a Russian system, it would seem highly illogical to > change this merely to read a few characters which can't be rendered in 866. If anything, it would make sense to change WarpIN display codepage to 1208, but at the moment I don't even know whether that's possible. > Also, this is not a font thing. I have dropped myriad fonts onto the dialog, > all with the same result: "?" for the characters in your name. Sure it is not a font thing. > I fall back on my contention that this is not a WarpIN bug. I differ. This is minor compared to what I found, though. > WarpIN accepts the > content of an external file as the same codepage as specified for the WIS, and > then converts to UTF-8, and finally to the display codepage. It's a conundrum, > I grant you. I just haven't figured an adequate workaround as yet. However, you solved the secondary mystery of why my name was being mangled in the readme as displayed by WarpIN when Unicode was used for the WIS -- the file is encoded using CP850, but the code assumes it is 1208. Naturally, 0xA0 and 0xA1 (CP850 codepoints for � and �) are not valid UTF8 byte sequences, so bad stuff happens when trying to display that. Maybe some UTF validation could/should be incorporated into the code, but I don't think that's a priority. I'll summarize all of this and report to Paul "tonight".