split on NO-BREAK SPACE

I V ivlenin at gmail.com
Sun Jul 22 18:47:14 EDT 2007


On Sun, 22 Jul 2007 21:13:02 +0200, Peter Kleiweg wrote:
> Here is another "space":
> 
>   >>> u'\uFEFF'.isspace()
>   False
> 
> isspace() is inconsistent

Well, U+00A0 is in the category "Separator, Space" while U+FEFF is in the
category "Other, Format", so it doesn't seem unreasonable that one is
treated as a space and the other isn't.



More information about the Python-list mailing list