Article View: borland.public.cppbuilder.database.ado
Article #21ADOQuery and Code-pages
From: Vladimir Stefanovic
Date: Sun, 13 Apr 2008 17:52
Date: Sun, 13 Apr 2008 17:52
25 lines
1499 bytes
1499 bytes
Hi,
Is it possible to force ADOQuery to return valid
results even when "Language for non-unicode
programs" is left on "English (United states)":
Control Panel
Regional and Language options
Advanced
Language for non-unicode programs
... and I want to search the data stored in database
with different codepage, say 1250.
Few character just cannot be matched when "Language
for non-unicode programs" is not.
I tried with SetThreadLocale() in WinMain, but that
didn't make any change.
--
Best Regards,
Vladimir Stefanovic
Technical Details
Message-ID:
<4802486d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f6c04accfa2f8c85,start X-Google-Attributes: gid10698b,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@sbb.co.yu> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADOQuery and Code-pages Date: Sun, 13 Apr 2008 19:52:52 +0200 Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 NNTP-Posting-Host: 87.116.181.135 Message-ID: <4802486d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1208109165 87.116.181.135 (13 Apr 2008 10:52:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail