Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi Eike,

I'm trying to work on the missing byte position text functions (tdf107135, FINDB, REPLACEB and SERACHB), but I have problems testing them.

I have made REPLACEB and the results are identical with those for REPLACE, which I do not expect. Existing byte position text functions like LENB, LEFTB, RIGHTB also seem to produce the same results as LEN, LEFT and RIGHT.

I have constructed strings with CONCAT and some UNICHAR(value between 1000 and 3000).

E.g. LENB( UNICHAR( 1048 ) ) returns 1 (I expected 2).

The unit tests for the existing byte position text functions don't help me, as they use string with normal 1-byte ASCII characters.

Are the byte position text function in LO meant to be identical with the corresponding 'standard' text functions? Are there other ways to produce multi-byte characters to test the byte position text functions?

Any help would be appreciated.

Winfried


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.