Message27156
Logged In: YES
user_id=38388
Maxim, you are right that \xA0 is a non-break space.
However, like the others already mentioned, the .split()
method defaults to breaking a string on whitespace
characters, not breakable whitespace characters. The intent
is not a typographical one, but originates from the desire
to quickly tokenize a string.
If you'd rather like to see a different set of whitespace
characters used, you can pass such a template string to the
.split() method (Walter gave an example).
Closing this as "Won't fix". |
|
Date |
User |
Action |
Args |
2007-08-23 14:36:58 | admin | link | issue1390608 messages |
2007-08-23 14:36:58 | admin | create | |
|