Subject Re: Unicode
Author peter_jacobi.rm
Hi Stefan, David,

Windows uses UTF-16
see http://en.wikipedia.org/wiki/UTF-16

Firebird (in UNICODE_FSS) uses UTF-8
see http://en.wikipedia.org/wiki/UTF-8

(ask about complications once you understand the basics)

For translations you can use the Win32 API
MultiByteToWideChar and WideCharToMultiByte

The conversion is done for you when use the .net provider or KInterbas.

Regards,
Peter Jacobi

--- In firebird-support@yahoogroups.com, David Johnson
<d_johnson@c...> wrote:
> Listening ...
>
> This is of immediate interest to me also.
>
> Thanks!
>
> On Thu, 2004-11-25 at 11:05, Stefan Kadow wrote:
> >
> > Hello,
> >
> > what is the difference between the 2-byte windows unicode charset
or the
> > wchar_t C++-type and the InterBase UNICODE_FSS 3-byte charset (except
> > the different Bytelength)?
> > Is there a way to convert between these charsets?
> > I need to store wide chars/unicodes in varchar-fields!
> >
> > Thanks,
> > Stefan
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >