Article View: borland.public.cppbuilder.internationalization
Article #739Re: Edit Box
From: Maris Janis Vasilevskis
Date: Thu, 20 Feb 2003 13:30
Date: Thu, 20 Feb 2003 13:30
19 lines
2609 bytes
2609 bytes
Troy Wolbrink wrote: > Hi Mahris, > Sorry if you already explained this to me a long time ago, but help me > understand this problem. Are you saying that "Update Resource DLLs" doesn't > persist WideStrings in the DFM in the same way as the IDE? Yes, at least at D6 (I currently do not remember whether I tested in on D7, my D7 tests were on trial version, and now I cannot repeat them). The test is fully described in my previous posting. Simply watch DFM in text editor after every step. Update Resource DLLs always create binary DFMs; on my computer, I assigned text format converter to double click on DFM. "Update resource DLLs" should leave all individualized subproject properties unchanged. Instead, it converts WideString into string using DesCP, and then back into WideString. As result, we get ???. (It occurs if AppCP<>DesCP; of course, in a real multilanguage project we should have some AppCPs different from DesCP). My workaround (lite change in your program) forces executable to give preference to your UTF7 parallel property, even if Borland directed WideString seems working correctly. Really, I detected this bug only in Update Resource DLLs. If you do not use it, TntWideStrPropHelper can remain unchanged (but nothing wrong in change). Mahris
Technical Details
Message-ID:
<3E54D87F.CEC9F5E3@myself.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e38e687@newsgroups.borland.com> <3e38fc1c$1@newsgroups.borland.com> <3e39fc29@newsgroups.borland.com> <3E3A00EE.4090102@pspl.co.in> <3e3abace$1@newsgroups.borland.com> <3e46811b@newsgroups.borland.com> <3E475FA8.E11BA70A@myself.com> <3e48e2b3@newsgroups.borland.com> <3E48E852.D91137EB@hotmail.com> <3e51b523$1@newsgroups.borland.com> <3E533752.508E83FF@myself.com> <3e53ad1b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10297d,8160627fcd9505d8 X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2003-02-20 05:23:33 PST Message-ID: <3E54D87F.CEC9F5E3@myself.com> Date: Thu, 20 Feb 2003 15:30:39 +0200 From: Maris Janis Vasilevskis <mahris@myself.com> X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internationalization Subject: Re: Edit Box References: <3e38e687@newsgroups.borland.com> <3e38fc1c$1@newsgroups.borland.com> <3e39fc29@newsgroups.borland.com> <3E3A00EE.4090102@pspl.co.in> <3e3abace$1@newsgroups.borland.com> <3e46811b@newsgroups.borland.com> <3E475FA8.E11BA70A@myself.com> <3e48e2b3@newsgroups.borland.com> <3E48E852.D91137EB@hotmail.com> <3e51b523$1@newsgroups.borland.com> <3E533752.508E83FF@myself.com> <3e53ad1b@newsgroups.borland.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 195.13.227.129 X-Trace: newsgroups.borland.com 1045747158 195.13.227.129 (20 Feb 2003 05:19:18 -0800) Lines: 19 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail