Leo should support unicode

Edward K. Ream edream at tds.net
Thu Aug 1 22:20:09 CEST 2002

> > I'm willing to have Leo support unicode better if you are willing to
help me
> > do it :-)  I don't mean coding, I just mean letting me know what Leo
> > to do better.  Can you say exactly how Leo fails with respect to
> That's easy to say: It should allow to enter non-ASCII characters.
> If I open an empty document, and replace the text "Headline" with
> "Hädline" (I do so by typing the ä key on my keyboard), leo will save
> a document that reads
> <v t="T1" a="V"><vh>u'H\xe4dline'</vh></v>
> When I read this document back in, I get
> u'H\xe4dline'
> as the headline field - when I had expected to get back my original
> text. I think leo should detect non-ASCII strings (Tkinter will report
> Unicode objects), and encode them as UTF-8 in the XML file.
> If you have problems entering funny characters, I recommend to use
> charmap.exe on Windows, selecting the Lucida Sans font. That should
> allow you to put arbitrary characters into the clipboard, then paste
> them into LEO.

Good.  This gives me something to work with.  I'm not sure when I'll get to
this.  It may be a week or two, and it's something that Leo definitely
should do.

Edward K. Ream   email:  edream at tds.net
Leo: Literate Editor with Outlines
Leo: http://personalpages.tds.net/~edream/front.html

More information about the Python-list mailing list