[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: code page
- From: Marco Antonio Abreu <mabreu.ti@...>
- Date: Tue, 12 May 2009 18:52:44 -0300
Do you have any idea what code is this?
On Tue, May 12, 2009 at 6:40 PM, Sam Roberts <email@example.com>
On Tue, May 12, 2009 at 2:07 PM, Marco Antonio Abreu
> No problem Ignacio. Thanks anyway.Interesting.
> I suppose the encode problem is resolved. I put the 'N' flag in front of the
> strings. My problem now is that the strings are beeing truncated from the
> SqlServer, just in the Fetch method of LuaSQL. When a field value has one
> accented char, it truncate the last one ('Flávia' comes like 'Fl??vi' - ??
> are especial chars), if the text has two accented chars it has the last two
> chars cutted and so on...
It sounds like some code "knows" how many chars there are... and that
it is assuming there is one byte per character, and truncating a
string's byte-count to the character count.
Marco Antonio Abreu
Analista de Sistemas