Article View: borland.public.interbase.sql
Article #11020Re: Problem with 'weird' characters
From: Arno Brinkman
Date: Tue, 24 Dec 2002 14:10
Date: Tue, 24 Dec 2002 14:10
22 lines
1743 bytes
1743 bytes
Hi,
> I'm trying to convert foxpro files to an interbase database. Somewhere in
> this process fields from a foxpro table are copied to an interbase table.
>
> Everything is ok as long as I don't specify a character set for the
> interbase DB.
> But when I do assign a character set I get an error ('Cannot transliterate
> character between character sets') when I try to insert a string with
> non-standard characters (for example � (ascii 186))
>
> I'm using TIBQuery.ParamByName('ParamName').AsString = <string>;
>
> How can I solve this? Or perhaps work around it?
> I wouldn't like to have to check every string for those characters before
> assigning them.
Use the same charaterset for connecting as you used for your fields (most the characterset where the
database is created with).
Regards,
Arno
Technical Details
Message-ID:
<3e086b27@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3e0869e8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114a0e,5fccc1e316643829 X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-12-24 06:15:23 PST From: "Arno Brinkman" <bnewsgroups @ abvisie.nl> Newsgroups: borland.public.interbase.sql References: <3e0869e8@newsgroups.borland.com> Subject: Re: Problem with 'weird' characters Date: Tue, 24 Dec 2002 15:10:38 +0100 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 213.116.154.191 Message-ID: <3e086b27@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1040739111 213.116.154.191 (24 Dec 2002 06:11:51 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail