Encoding DeprecationWarning
oliver at obeattie.com
oliver at obeattie.com
Sat Aug 4 18:52:06 EDT 2007
On Aug 4, 11:43 pm, "oli... at obeattie.com" <oli... at obeattie.com> wrote:
> >>> from wt.lib.misc_lists import all_countries
>
> __console__:1: DeprecationWarning: Non-ASCII character '\xc3' in file /
> Django/wt/../wt/lib/misc_lists.py on line 141, but no encoding
> declared; seehttp://www.python.org/peps/pep-0263.htmlfor details
OK, well; no matter. Perhaps I should try actually reading the article
it recommended and add:
# -*- coding: utf-8 -*-
To the file! What a doofus!
Thanks,
Oliver
More information about the Python-list
mailing list