ãããªã¨ã©ã¼ããããã¨ã >>> print hoge Traceback (most recent call last): File "<stdin>", line 1, in ? UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128) ããã©ã«ãã§è¨å®ããã¦ãæåã³ã¼ããå¤ããã¨è§£æ±ºãã¾ãã ã§ããã®è¨å®ã®ãããã§ããã 1. ç°å¢å¤æ°LANG ã«ç«¯æ«ãæ±ãã¨ã³ã³ã¼ããè¨å®ããã(ãã¶ã LANG=ja_JP.utf-8 ãã ja_JP.eucJP ã®ã©ã¡ããã§ãããã¨ãããã¾ã) 2. 1ã¯ç«¯æ«ã«åºå(ãã printããæ)ããã¨ãã ãã«å¯¾å¿ããã®ã§ã hoge = file(âhogeâ, âwâ) print >>hoge, u
{{#tags}}- {{label}}
{{/tags}}