On Tue, Feb 15, 2011 at 2:40 PM, Brian Granger <[email protected]> wrote:
> On Mon, Feb 14, 2011 at 11:06 PM, Chris Smith <[email protected]> wrote:
>> Brian Granger wrote:
>>
>> They are both trying to print Ket('psi') which (on my system) generates
>>
>>    >>> print Ket('psi')
>>    |psi>
>>    >>> print pretty(Ket('psi'))
>>    u'\u2758psi\u27e9'
>
> The issue is that the psi is not being rendered as the unicode Greek
> symbol psi.  It looks like you have unicode symbols not working.  What
> can disable this in sympy...oh wait see below.
>
>>
>>> Yes, this would help us to debug this.  Also, what OS are you on?
>>>
>> Windows XP
>>
>>>
>>>> Do you have pretty printing enabled or disabled at your computer?
>>
>> disabled
>
> You definitely need to have unicode pretty printing of greek symbols
> enabled for this to work.

Yes, but sympy should work without these symbols working as well. E.g.
we do test unicode with sympy and it has been working just fine. The
unicode tests in quantum fail though, and so there must be a way to
fix it somehow.

Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to