Subject | Re: [firebird-support] Bug with character sets |
---|---|
Author | Milan Babuskov |
Post date | 2009-05-19T13:55:56Z |
Martijn Tonies wrote:
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
> And what if one of the characters is multi-byte? You get somethingYes.
> like:
>
> ASCII 'A' - 1 byte
> '<somechar>' - 2 bytes
> ASCII 'C' - 1 byte
> <8 spaces>
> And when decoding this to a string in the client app, the decode routineWell, in FlameRobin we use wxString and wxCSConv classes that convert
> recognizes multi-byte chars and decodes them accordingly?
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