I checked a few other terminals, xterm was the only one that displayed
it as it should.  The font I'm using in Konsole supports this
character, so it must be a bug in Konsole.  I tried the command you
mentioned and I got this error:
>>> print(u'a\u0307')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0307' in
position 1: ordinal not in range(128)
>>>

If I don't do the command you mentioned, it doesn't give the error,
but it also doesn't print the dots... :(


Thanks for the help.

~Luke


On Jul 2, 8:30 pm, Andy Ray Terrel <[email protected]> wrote:
> I did
>
>  export LANG=fi_FI.UTF-8
>
> and it works for me on the mac terminal, but the above command is a
> bash thing.  Although its not exactly printing right, it puts the dot
> more in the right hand corner rather than above.
>
> -- Andy
>
> On Thu, Jul 2, 2009 at 9:26 PM, Luke<[email protected]> wrote:
>
> > I'm trying to get the Unicode 'COMBINING DOT ABOVE'  character to
> > work.  This is used for the Newtonian shorthand notation for a time
> > derivative:
> >http://www.fileformat.info/info/unicode/char/0307/index.htm
>
> > As far as I can tell, you would follow any unicode character with the
> > above character, and it should put the dot above it:
> > print(u"q\u0307")
> > should print q with a dot above it.  Other diacriticals seems to work,
> > for example, the 'COMBINING FERMATA':
> > print(u"q\u0352")
> > prints the q with a weird little fermata above it.
>
> > I tried python3 and it does the same thing, so it seems that perhaps
> > my terminal, or the font I'm using in my terminal, doesn't support
> > that particular character.  I am using Konsole in Kubuntu 9.04, with
> > the character encoding set to:  Unicode--> UTF-8.
>
> > Can anybody else get the 'COMBINING DOT ABOVE' character to work in
> > their terminals?
>
> > ~Luke
>
>
--~--~---------~--~----~------------~-------~--~----~
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