Re: Zeos Acces + Firebird
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 10 Sep 2005 16:39:25 +0200
"Mike Walker" <mwalker@xxxxxx> wrote in message
news:dfmbqt$12u$1@xxxxxxxxxxxxxxxxx
> Table structure:
>
> field "lastname" is varchar (30): Charset=win1250, Collate = pxw_slov
>
> When I made zquery:
>
> select * from mytable
> where lastname = 'Maric'
> order by lastname
>
> all was OK, but when I tried this:
>
> select * from mytable
> where lastname = 'Mariæ'
> order by lastname
>
> I got next error message:
>
> "Sql Error: arithmetic exception, numeric overflow, or string truncation
> Cannot transliterate character between caracter sets. Error Code: -802.
> Aritmetic overflow or division by zero acurred."
Your table is encoded in characterset windows-1250, it says so right
there. Judging from your email address, that's probably an excellent
choice.
You don't say what characterset is selected in the window where you
typed your query, but let's suppose it's windows-1252, which is the
default. That puts the a-e ligature, U+00E6, in codepoint $e6.
Now compare http://www.microsoft.com/globaldev/reference/sbcs/1252.mspx
to http://www.microsoft.com/globaldev/reference/sbcs/1250.mspx, and
try hard to locate U+00E6 in the latter. There's a cookie in it for you
if you can find it, but in a codepage named "Central Europe", I doubt
that there was ever much demand for it.
So your error message is right on the money. The database server really
is being asked to, and cannot, transliterate that character.
Does Firebird support the nvarchar datatype?
Groetjes,
Maarten Wiltink
.
- Follow-Ups:
- Re: Zeos Acces + Firebird
- From: Mike Walker
- Re: Zeos Acces + Firebird
- References:
- Zeos Acces + Firebird
- From: Mike Walker
- Zeos Acces + Firebird
- Prev by Date: Re: Correct Identation/Contex can solve the too many compiler error messages problem when a closing bracket is missing.
- Next by Date: Re: Bold print
- Previous by thread: Re: Zeos Acces + Firebird
- Next by thread: Re: Zeos Acces + Firebird
- Index(es):
Relevant Pages
|