Thank you All ! I am going to update ...
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
When I specify an source encoding such as:
# -*- coding: GBK -*-
or
# -*- coding: GB2312 -*-
as the first line of source, I got the following error:
SyntaxError: 'unknown encoding: GBK'
Does this mean Python does not support GBK/GB2312? What do I do?
GB2312 is supported in
2.4 support gb2312, gbk, gb18030 and cjk codec.
you can also move these things to 2.3.
On Wed, 23 Feb 2005 22:34:02 -0600, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> > When I specify an source encoding such as:
> >
> > # -*- coding: GBK -*-
> > or
> > # -*- coding: GB
[EMAIL PROTECTED] wrote:
When I specify an source encoding such as:
# -*- coding: GBK -*-
or
# -*- coding: GB2312 -*-
as the first line of source, I got the following error:
SyntaxError: 'unknown encoding: GBK'
Does this mean Python does not support GBK/GB2312? What do I do?
Well, *your* Python mi
When I specify an source encoding such as:
# -*- coding: GBK -*-
or
# -*- coding: GB2312 -*-
as the first line of source, I got the following error:
SyntaxError: 'unknown encoding: GBK'
Does this mean Python does not support GBK/GB2312? What do I do?
-
narke
--
http://mail.python.org/mailm