TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Unicode in Haxe 4 We finally stopped doing pointless stuff and focused on emojis
2 点
作者
markknol
超过 6 年前
1 comment
al2o3cr
超过 6 年前
I don't see how UCS-2 helps with iteration; in particular, it means that characters like emojis get represented as surrogate pairs so you're right back to having to iterate over the whole string to find a real character boundary.