ç°å¢ ãã®è¨äºã®å 容ã¯ãUbuntu 6.10, Python 2.4ã§ç¢ºèªãã¾ããã ç¾è±¡ ã¦ãã³ã¼ãæååãstré¢æ°ã«ä¸ããã¨ãUnicodeEncodeErrorãçºçãã¾ãã $ python Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> s = u'ã»ã' >>> str(s) Traceback (most recent call last): File "", line 1, in ? UnicodeEncodeError: 'ascii' codec
{{#tags}}- {{label}}
{{/tags}}