On Tue, May 12, 2009 at 6:40 PM, Sam Roberts
<vieuxtech@gmail.com> wrote:
On Tue, May 12, 2009 at 2:07 PM, Marco Antonio Abreu
> No problem Ignacio. Thanks anyway.
> 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...
Interesting.
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.
Sam