Subject Re: [Firebird-Architect] A Fresh Look at Collations
Author Adriano dos Santos Fernandes
On 21/06/2010 12:08, Dimitry Sibiryakov wrote:
> 21.06.2010 16:46, Sergey Mereutsa wrote:
> AWH>> Why do you say UTF-8 is slow?
>
>> Because you can not count string length, for example, without walking
>> it all - because each char in UTF8 (if we speak about it native
>> representation) can be from 1 to 6 bytes length.
>>
> But is counting of symbols so frequent operation to care about its
> speed?..
>
At least when data come from user, it must be validated and characters
counted (when using constrained length strings - aka [VAR]CHAR).

If you don't do this things, it will be like Interbase and FB 1.5. It is
then better to call it bytes instead of UTF-8.


Adriano