🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #797

Re: ADO with unicode querys...

#797
From: Viatcheslav V. Vassiliev
Date: Thu, 28 Apr 2005 19:50
24 lines
2030 bytes
Which components do you use? Try use TADOCommand and CommandText - it is 
WideString. It seems that somewhere there is convertion AnsiString -> 
WideString.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + 
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Bernd Muent" <kontakt@bmservices.de> ???????/???????? ? ???????? ?????????: 
news:42709d41@newsgroups.borland.com...
> ... seems not to be possible.
> I'm using Jet engine 4.0 to access a mdb that contains some chinese 
> unicode characters. With .net and MFC it's working fine, but with VCL/ADO 
> every "insert into to test values('\x4e01');" results in a "?".
> Trying to get data from the mdb with "select * from test where field1 like 
> '%\x4e01'" does not return anything :-(
> Are there any changes to get this working or do I need an additional 
> component like ELPack?
>
> Thanks for tips, Bernd 
Technical Details
Message-ID: <42713e9d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42709d41@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,83edafb77086ec9a
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <42709d41@newsgroups.borland.com>
Subject: Re: ADO with unicode querys...
Date: Thu, 28 Apr 2005 23:50:53 +0400
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 85.93.138.132
Message-ID: <42713e9d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114717853 85.93.138.132 (28 Apr 2005 12:50:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail