Article View: borland.public.cppbuilder.internationalization
Article #237Re: Unicode and LoadString
From: kev
Date: Thu, 05 May 2005 12:56
Date: Thu, 05 May 2005 12:56
54 lines
3488 bytes
3488 bytes
Well, that pretty much sucks. I am the only BCB programmer here among a bevy of VC programmers. I have to write my application within the guide lines of the project. The current project MUST be unicode compatible. The language DLL that I must use is created in unicode in VC and must interface with files gererated by others' unicode programs. I DO have the siLang components and have been trying them. That is an option, but I am having a terrible time getting them to work as advertised, but even so that puts me outside of my project guidelines to use the before mentioned DLL. My program will be running, concurrently with others on the same client machine. Having to set up the machine specifically for my program would not fly (ie -Locale, codepages, check box for "Non-Unicode" programs etc) as it may interfere with their programs. I don't particularly care if the characters show correctly in the editor or debugger as long as I can get them to show correctly in the .exe when run. It should be a simple matter of UNICODE or !UNICODE, but as I look at the user groups, I can see that it is not. Can I not use the -WU parameter and other UNICODE settings that I have managed to dig up from newsgroup posts? BTW, the program I am working on has already been created and shipped in non-unicode form, but now has to be "converted" for the next release. If there is ANY way to use Unicode I MUST do so! Any other tips are very much appreciated. thanks, Kev "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> wrote in message news:4279d5fd@newsgroups.borland.com... > kev wrote: > > > I amtrying to read and dispay as captions Unicode strings from a DLL. > > I am having trouble getting this to work. > > I notice you are loading "Chinese.dll" and I think that could be a > problem for you. Chinese has far too many characters for the VCL (which > uses UTF-8) to display. Even if a machine is configured to support the > correct codepages I'm pretty sure that the results will be poor. For > most letter based languages a codepage can be created with a dedicated > set of language specific characters to complete the required alphabet. > For Chinese I don't think this is possible. > > I think you would do better to look at something like the SiComponents > TSiLang suite: > > http://www.sicomponents.com/tsilang1.html > > -- > Andrue Cope [TeamB] > [Bicester, Uk] > http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<427a1807$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<427905c4$1@newsgroups.borland.com> <4279d5fd@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,94c782bbe2550585 X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit From: "kev" <kev@isp.com> Newsgroups: borland.public.cppbuilder.internationalization References: <427905c4$1@newsgroups.borland.com> <4279d5fd@newsgroups.borland.com> Subject: Re: Unicode and LoadString Date: Thu, 5 May 2005 07:56:37 -0500 Lines: 56 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 65.116.27.178 Message-ID: <427a1807$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115297799 65.116.27.178 (5 May 2005 05:56:39 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail