Issue #10459: Update CJK character names to Unicode 5.2.

This commit is contained in:
Martin v. Löwis 2010-11-22 10:53:46 +00:00
parent 2751cb0029
commit e03c7787b9
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,8 @@ Core and Builtins
Library
-------
- Issue #10459: Update CJK character names to Unicode 5.2.
- Issue #4493: urllib2 adds '/' in front of path components which does not
start with '/. Common behavior exhibited by browsers and other clients.

View File

@ -869,8 +869,9 @@ is_unified_ideograph(Py_UCS4 code)
{
return (
(0x3400 <= code && code <= 0x4DB5) || /* CJK Ideograph Extension A */
(0x4E00 <= code && code <= 0x9FBB) || /* CJK Ideograph */
(0x20000 <= code && code <= 0x2A6D6));/* CJK Ideograph Extension B */
(0x4E00 <= code && code <= 0x9FCB) || /* CJK Ideograph, Unicode 5.2 */
(0x20000 <= code && code <= 0x2A6D6) || /* CJK Ideograph Extension B */
(0x2A700 <= code && code <= 0x2B734)); /* CJK Ideograph Extension C */
}
static int