Subject Re: [firebird-support] Re: Using unicode versus WIN1252 (Firebird 2)
Author Milan Babuskov
Douglas Tosi wrote:
> On Fri, Jan 9, 2009 at 1:36 PM, Milan Babuskov <milanb@...> wrote:
>> josef_gschwendtner wrote:
>>> German characters mostly have ASCII < 7F. With UTF8 these characters
>>> have the same storage size as in WIN1252, right?
>> Only when represented in UTF8 form. However, Firebird internally
>> represents them as 4-bytes-per-character internally.
>
> That is odd.
> What is the point of having UTF8 as an option if internally it uses
> the same space as Unicode? Am I missing something?

Answer these and you'll have your answer:

What's the point in having ASCII when it uses the same space as WIN1252?
What's the point in having WIN1252 when it uses the same space as
ISO-8859-1?

Character sets don't exist because they use different space.

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