[Libreoffice-bugs] [Bug 133769] FIREBIRD: Filed length for VARCHAR couldn't be set to 10000

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 7 17:03:04 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=133769

--- Comment #4 from Alex Thurgood <iplaw67 at tuta.io> ---
In theory, it is supposed to be:

Char and Varchar: 32767 bytes
for encoding in single byte character encoding

according to :

http://www.firebirdfaq.org/faq61/

but then I seem to recall that we encode using 4 bytes per character because we
accept UTF-8, thereby reducing the total possible length of a VARCHAR field to
about 8K ?

See also:
https://stackoverflow.com/questions/14682709/how-to-declare-a-field-as-varcharmax-in-firebird

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200707/f3818418/attachment.htm>


More information about the Libreoffice-bugs mailing list