Hi, I am making progress with SymPy (git-master) and IronPython 2.7.5b1. 
Now I would like to get Unicode output working. Here is my script:

import sympy
from sympy import *

# output chinese character
val = u'\u76d8'
print val
print 

# output integral
x = Symbol('x')
pprint(Integral(sqrt(1/x), x), use_unicode=True)

And here is the output:

http://www.britishideas.com/forumimages/sympy-unicode.png

You can see that the Chinese character printed OK. My terminal is using 
UTF-16. If I set it ti UTF-8 then SymPy only outputs junk.

Any hints or things to try? Thanks.

Andy

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/4bf6b581-9d74-4f76-9238-e7e00ed10966%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to