Greg,
Just a suggestion:
1) The guy may be using CodePage 437, which has ä in position 132.
2) You are using an interpretation of char which is _signed_, in which case (if my 2's complement math serves me correctly) 132 is the same as -124.
In which case, you should explicitly cast it to "unsigned char*".
HTH
Ulrik Petersen
[EMAIL PROTECTED] wrote:
Subject: ISO 8859 From: "Greg Obleshchuk" <[EMAIL PROTECTED]> Date: Thu, 17 Jun 2004 17:15:07 +1000 To: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Hello,
I had this guy email me about a problem about using ISO8859 character . He
has this in the DB Handhilfsbetätigungssatz
but when queried using my wrapper it returns Handhilfsbet..tigungssatz
When using SQLITE.EXE the results are displayed fine. When I debug the code the char * returned in the call-back event for this column has this character as value -124 . Which I assume is an overflowed 7 bit value. Can anyone help me understand how to fix this in the source?
thanks Greg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]