[IronPython] Using iso-latin-1 character set

Sanghyeon Seo sanxiyn at gmail.com
Mon Jun 25 14:55:50 CEST 2007


2007/6/25, Anders M. Mikkelsen <amm at selektro.dk>:
> I'm using IronPython in an environment where I have to use
> characters from the iso-latin-1 character set (æøå and ÆØÅ).
> The problem is that IronPython seems to be replacing my
> iso-latin-1 characters with ?-marks.
>
> Any ideas?

Did you declare source code encoding?
http://www.python.org/dev/peps/pep-0263/

Put this comment at the top of your file:
# coding: utf-8

-- 
Seo Sanghyeon


More information about the Ironpython-users mailing list