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


Hi Winfried,

On Tuesday, 2017-07-04 15:46:46 +0200, Winfried Donkers wrote:

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).

Note that the *B functions work differently only for characters for
which IsDBCS() in sc/source/core/tool/interpr1.cxx returns true, namely
CJK characters of the Unicode blocks listed in the scriptList array.
1048 is U+0418 "И" CYRILLIC CAPITAL LETTER I, which certainly is not
among them..

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Care about Free Software, support the FSFE https://fsfe.org/support/?erack

Attachment: signature.asc
Description: PGP signature


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.