Subject Re: [firebird-support] Bug with character sets
Author Milan Babuskov
Martijn Tonies wrote:
> And what if one of the characters is multi-byte? You get something
> like:
>
> ASCII 'A' - 1 byte
> '<somechar>' - 2 bytes
> ASCII 'C' - 1 byte
> <8 spaces>

Yes.

> And when decoding this to a string in the client app, the decode routine
> recognizes multi-byte chars and decodes them accordingly?

Well, in FlameRobin we use wxString and wxCSConv classes that convert
between various character sets and encodings. wxCSConv is able to take
raw bytes and translate that to string of characters.

I assume there is something similar in Delphi as well.

--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com