Am 07.09.2010 10:24, schrieb Robert Bradshaw: > > Actually, b'abcüöä' is a syntax error "bytes can only contain ASCII > literal characters,"
You can write b'abc\xc3\xbc\xc3\xb6\xc3\xa4' if you wish to though, this is the UTF-8 form as gained by bytes( 'abcüöä', 'utf8' ), but I am sure, the latin form could also be used. So you can't write "ü" but need to commit to an encoding by specifying the exact byte value. Hope this helps. Yours, Kay _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
