Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qmui_lengthWhenCountingNonASCIICharacterAsTwo 返回字数不正确 #245

Closed
4 tasks done
Kam-To opened this issue Nov 21, 2017 · 1 comment
Closed
4 tasks done

qmui_lengthWhenCountingNonASCIICharacterAsTwo 返回字数不正确 #245

Kam-To opened this issue Nov 21, 2017 · 1 comment

Comments

@Kam-To
Copy link

Kam-To commented Nov 21, 2017

请填写运行环境

  • 设备:iPhone / iPad / 模拟器
  • 系统:iOS 11.0
  • Xcode 版本:9.0.1
  • QMUI iOS 版本:1.5.0

请描述具体问题

诸如“一”、“开”等汉字(UTF16 编码下有一个字节为 0x00)在 qmui_lengthWhenCountingNonASCIICharacterAsTwo 的计算方式下返回 1。

相关截图(断点的堆栈、控制台的 log)

无。

@MoLice
Copy link
Collaborator

MoLice commented Dec 5, 2017

2.1.0 版本已修复。

@MoLice MoLice closed this as completed Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants