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/mailman/listinfo/python-list

Reply via email to