> I do not know if this will work for Japanese Windows, but for the English
> version, the two things I have found that need to be done to ensure a
> command prompt properly displays utf-8
> are first:
>
> chcp 65001
>
> in the command prompt to change the active code page to the one that works
>
>
> Are you declaring the encoding of your source file?
>
> Try putting
>
> # -*- coding: UTF-8 -*-
>
> at the top of your file.
>
> regards
> Steve
Hi Steve, thanks for the reply. Exceptions are raised if you input
Japanese characters into a file and fail to declare the coding. That
was the fir
2008/10/30 Andrew <[EMAIL PROTECTED]>
>
> I am currently working through the django book and I've got to the
> fifth chapter where I would like to replace the __str__() methods with
> __unicode__() methods instead. The reason is that my database will
> hold a great deal of Japanese text, UTF-8 enc
Andrew wrote:
> I am currently working through the django book and I've got to the
> fifth chapter where I would like to replace the __str__() methods with
> __unicode__() methods instead. The reason is that my database will
> hold a great deal of Japanese text, UTF-8 encoded. After declaring the
I am currently working through the django book and I've got to the
fifth chapter where I would like to replace the __str__() methods with
__unicode__() methods instead. The reason is that my database will
hold a great deal of Japanese text, UTF-8 encoded. After declaring the
UTF-8 encoding at the
I am currently working through the django book and I've got to the
fifth chapter where I would like to replace the __str__() methods with
__unicode__() methods instead. The reason is that my database will
hold a great deal of Japanese text, UTF-8 encoded. After declaring the
UTF-8 encoding at the
6 matches
Mail list logo