From 4e3530b4f870e0470c23ae89cdb8b9a09af54d59 Mon Sep 17 00:00:00 2001 From: Winfried Donkers Date: Mon, 13 Nov 2017 15:43:00 +0100 Subject: tdf#97198 Make Calc function LEFT work with Unicode non-BMP characters Change-Id: I66d24dd962f824079fd0aea2827bd5b975ffe698 Reviewed-on: https://gerrit.libreoffice.org/44684 Tested-by: Jenkins Reviewed-by: Eike Rathke --- sc/qa/unit/data/functions/text/fods/left.fods | 88 ++++++++++++++++++++++++++- 1 file changed, 87 insertions(+), 1 deletion(-) (limited to 'sc/qa') diff --git a/sc/qa/unit/data/functions/text/fods/left.fods b/sc/qa/unit/data/functions/text/fods/left.fods index 535eff455432..45d659aab04e 100644 --- a/sc/qa/unit/data/functions/text/fods/left.fods +++ b/sc/qa/unit/data/functions/text/fods/left.fods @@ -1152,6 +1152,92 @@ + + + abπŸ˜‚d + + + abπŸ˜‚d + + + WAAR + + + =LEFT(I11;4) + + + Excel 2016 returns the same result + + + abπŸ˜‚de𝔖ghπ•¬π–ˆπ–π–™π–šπ–“π–Œ! + + + + + + "π§Œ’ + + + "π§Œ’ + + + WAAR + + + =LEFT(I12;2) + + + Excel 2016 returns the same result + + + "π§Œ’π§€¬" + + + + + + "u + + + "u + + + WAAR + + + =LEFT(I13;2) + + + Excel 2016 returns the same result + + + + "üë" + + + + + + π•¬π–ˆπ–π–™ + + + π•¬π–ˆπ–π–™ + + + WAAR + + + =LEFT(I14;4) + + + Excel 2016 returns the same result + + + + π•¬π–ˆπ–π–™π–šπ–“π–Œ! + + + @@ -1195,4 +1281,4 @@ - \ No newline at end of file + -- cgit