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 3 commits into from Jan 2, 2016


Copy link

@mozillazg mozillazg commented Jan 2, 2016

在如下两种情况下,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 issue Jan 2, 2016
支持 `U+20000 ~ U+2FA1F` 区间内的汉字
@mozillazg mozillazg merged commit 5db57da into develop Jan 2, 2016
2 of 3 checks passed
@mozillazg mozillazg deleted the feature/support-ucs4 branch Jan 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant