ICU returns unexpected length for string

Bug #1864869 reported by Dom Pie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
icu (Ubuntu)
New
Undecided
Unassigned
php7.4 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Calculating the grapheme string length for the word 'नमस्ते' returns 3 instead of 4.

This version returns unexpected result of 3:
ICU version 65.1
ICU Data version 65.1
ICU TZData version 2019c
ICU Unicode version 12.1

This version returns the expected result of 4:
ICU version => 63.1
ICU Data version => 63.1
ICU TZData version => 2018e
ICU Unicode version => 11.0

PHP says this is an upstream issue: https://bugs.php.net/bug.php?id=79308

Dom Pie (dompie)
affects: canonical-identity-provider → ubuntu
affects: ubuntu → php7.4 (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

Per the PHP bug, this appears not to be in php itself but rather higher up the stack. Reassigning to ICU for now.

Changed in php7.4 (Ubuntu):
status: New → Invalid
Revision history for this message
Steven R. Loomis (srl-icu-project) wrote :

I added a comment to the PHP bug, I think it is working as designed.
Please track ICU bugs at https://unicode-org.atlassian.net (project ICU) thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.