[Python-Dev] Multilingual programming article on the Red Hat Developer blog (original) (raw)
R. David Murray rdmurray at bitdance.com
Wed Sep 17 02:25:21 CEST 2014
- Previous message: [Python-Dev] Multilingual programming article on the Red Hat Developer blog
- Next message: [Python-Dev] Smuggling bytes in a UTF-16 implementation of str/unicode (was: Multilingual programming article on the Red Hat Developer blog)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 17 Sep 2014 08:57:21 +0900, "Stephen J. Turnbull" <stephen at xemacs.org> wrote:
As long as the Java string manipulation functions don't check for surrogates, you should be fine with this representation. Of course I suppose your matching functions (etc) don't check for them either, so you will be somewhat vulnerable to bugs due to treating them as characters. But the same is true for CPython, AFAIK.
From my point of view, the string function laxness is a feature, not a bug. But I get what you mean.
--David
- Previous message: [Python-Dev] Multilingual programming article on the Red Hat Developer blog
- Next message: [Python-Dev] Smuggling bytes in a UTF-16 implementation of str/unicode (was: Multilingual programming article on the Red Hat Developer blog)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]