Page MenuHomeFeedback Tracker

[Bug] Non-ASCII characters count more than once
Closed, ResolvedPublic

Description

Non-ASCII Latin and Cyrillic chars count twice, and East-Asian chars count 3 times.
For example:
á, д and ß count twice: count "á" returns 2
And:
, and count 3 times.
This breaks commands such as select for selecting text.

This needs an awkward workaround atm:
count toArray "我"
and: toString (toArray "我" select [0,1])

Also related:
https://feedback.bistudio.com/T154207

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Engine

Event Timeline

Leopard20 created this task.Oct 7 2020, 1:59 PM
Leopard20 updated the task description. (Show Details)
BIS_fnc_KK changed the task status from New to Assigned.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.
BIS_fnc_KK removed a subscriber: BIS_fnc_KK.
Leopard20 updated the task description. (Show Details)Oct 7 2020, 2:08 PM
Leopard20 updated the task description. (Show Details)
R3vo added a subscriber: R3vo.Nov 16 2020, 9:33 AM

Fixed with

forceUnicode 0; count "我"
LouMontana closed this task as Resolved.Nov 16 2020, 9:43 AM