Article View: borland.public.cppbuilder.internationalization
Article #882Re: Chinese BDE / VCL support question
From: William Meyer
Date: Thu, 15 Nov 2001 04:06
Date: Thu, 15 Nov 2001 04:06
44 lines
2417 bytes
2417 bytes
"Robi Kihm" <robi_kihm@yebo.co.za> wrote in message news:3bf193f9_2@dnews... > > I need to translate an app into Chinese. I see that there are components > (TsiLang is one of them) > that will help translate the user interface. > > BUT , I need to be able to store chinese characters using BDE into MS SQL > Server 7. > > How would I go about setting this up ?. > > It looks as if the VCL (TDBEdit etc) do support entering chinese characters > ( I did a copy and > paste from the win2k character map into a dbedit field on my apps ui , and > it did display a valid > chinese character in the dbedit text box) but when I save this record and > refresh , the chinese character is displayed as a ?. I set up chinese > language support on win2k and set the locale etc etc to chinese There are other translation components, and there are also component packs which are compatible with Unicode. (ElPack from ElDos is one such.) I think that the safest solution for storing strings in the database will probably be to translate their form, to and from the storage. One of the issues you need to verify is support for MBCS in SQL Server. > Any help would really be appreciated , especially since I do not know where > to start ! If My answers are of no help, or if they cover ground you have already explored, I am sorry, but I am also working to uncover answers to MBCS issues. You may wish to explore here: http://www.delphi-unicode.net/ http://www.efg2.com/Lab/OtherProjects/Unicode.htm I hope this helps. Bill
Technical Details
Message-ID:
<3bf33ed5$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3bf193f9_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10297d,5dac94853a873ed5 X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2001-11-14 20:06:52 PST From: "William Meyer" <wmhmeyer@earthlink.net> Newsgroups: borland.public.cppbuilder.internationalization References: <3bf193f9_2@dnews> Subject: Re: Chinese BDE / VCL support question Date: Wed, 14 Nov 2001 20:06:00 -0800 Lines: 47 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 63.183.8.43 Message-ID: <3bf33ed5$1_2@dnews> X-Trace: dnews 1005797077 63.183.8.43 (14 Nov 2001 20:04:37 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews