HaxeFoundation / HaxeFoundation/haxe

Utf8 "iter" issue for cpp target

Open
#8,983 0 comments 0 reactions 1 assignee Claimed by @hughsando View on GitHub
platform-cpp unicode
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Utf8 "iter" issue, printed only two characters. Detected on haxe release 4.0.2, 64 bit windows.

trace("ὕαλον".length);
haxe.Utf8.iter("ὕαλον", function(char) {
trace("[" + String.fromCharCode(char) + "] " + char);
});

Printed:
5
[ὕ] 8021
[α] 945
Rest chars missing.

I know Utf8 deprecated, but it still included in haxe and can be presented in developers code.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.