Subject | Re: [Firebird-Architect] A Fresh Look at Collations |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2010-06-21T15:19:39Z |
On 21/06/2010 12:08, Dimitry Sibiryakov wrote:
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
> 21.06.2010 16:46, Sergey Mereutsa wrote:At least when data come from user, it must be validated and characters
> 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?..
>
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