Christoph Lutz wrote:
Hi,

In OOo-Basic Strings are restricted to 64k charakters. Is this just an OOo-Basic issue, so that e.g. with Java the problem could be avoided? Or is the restriction valid in the whole UNO-API?

See <http://udk.openoffice.org/common/man/typesystem.html> for a definition of the UNO string type. Even though UNO strings are allowed to have arbitrary length, each single UNO environment at any point in time has a certain limit of how long a string it can handle; if asked to handle a string that is too long, it is expected to report failure via some RuntimeException.


OOo Basic probably suffers from the tools/string.hxx implementation, which limits strings to contain some 64K UTF-16 code units.

-Stephan

regards,
Christoph

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to