Subject | Re: [firebird-support] Charset UTF8 or ISO8859_1 for new DB with CI + AI |
---|---|
Author | Hannes Streicher |
Post date | 2015-12-09T06:50:14Z |
Guten Tag rick@... [firebird-support],
if have not looked at FB 3 but in 2.5 the maximum size of a varchar is some 32000 Char , due to the 4 Byte/Char
space reservation mechanism this will go down to 8000 and some for UTF8 Encoded
Mit freundlichen GrĂ¼ssen
Hannes Streicher mailto:HStreicher@...
> Here are my questions:NO plain englisch will still be one Byte but spanisch (the accented n ) will be multiple bytes
> 1. Is only one byte used for storage for english and spanish?
> 3. Is there any downside to using UTF8 and UNICODE_AI_CI over ISO8859_1 and collation ISO8859_1?UTF8 will always reserve 4 bytes per "Char" in Transferbuffers because a UTF8 Char can be up to 4 Bytes long
if have not looked at FB 3 but in 2.5 the maximum size of a varchar is some 32000 Char , due to the 4 Byte/Char
space reservation mechanism this will go down to 8000 and some for UTF8 Encoded
> Regards,--
> Rick
>
>
>
>
Mit freundlichen GrĂ¼ssen
Hannes Streicher mailto:HStreicher@...