On Fri, 2010-02-26 at 13:49 -0300, Ricardo Aráoz wrote:
> Does pydoc only deal with ASCII? 

UTF-8 in docstrings works for me. 

Maybe:
* Its actually not UTF-8
* The console you're using doesn't support UTF-8 well
  (note: I'm on linux, maybe its a problem with windows?)


code >>>
#!/usr/bin/env python
# -*- coding: utf-8 -*-

def foo():
    """Some ütf-8 docstring ∑ g⊙f (x)"""
    return False
<<<EOF


>>> help(test)
Help on module test:

NAME
    test - # -*- coding: utf-8 -*-

FILE
    /tmp/test.py

FUNCTIONS
    foo()
        Some ütf-8 docstring ∑ g⊙f (x)



-- 
Florian Ludwig <d...@phidev.org>

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to