> As you can see last line of the two outputs, Maya 2011 looks to use
> cp1252 for encoding whereas Maya 2009 use ascii.
>
> - Why Maya 2009 and Maya 2011 behave differently?
> - How can I get the encoding used when printing? I.e. maya.Output
> encoding?
> - Is it possible to set the encoding? (I'd rather use utf8)

maya.cmds.about(codeset=True)

Should give you the encoding that sys.stdout is using.

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to