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

支持 U+20000 ~ U+2FA1F 区间内的汉字 #33

Merged
merged 3 commits into from
Jan 2, 2016

Conversation

mozillazg
Copy link
Owner

在如下两种情况下,len(u'\U00020000') == 1。所以再次开启对 U+20000 ~ U+2FA1F 区间内汉字的支持:

  • Python 3.3 以下版本:编译时启用了 UCS-4 支持 ./configure --enable-unicode=ucs4
  • Python 3.3 及以上版本默认支持 UCS-4

参考资料:

mozillazg added a commit that referenced this pull request Jan 2, 2016
支持 `U+20000 ~ U+2FA1F` 区间内的汉字
@mozillazg mozillazg merged commit 5db57da into develop Jan 2, 2016
@mozillazg mozillazg deleted the feature/support-ucs4 branch January 2, 2016 07:10
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

Successfully merging this pull request may close these issues.

1 participant