On Thu, Jun 18, 2009 at 4:57 PM, Edward K. Ream<[email protected]> wrote:

>> we may have to add a
>> setting that will tell the qt gui which encoding to assume by default.  We
>> will then pass that as a the encoding param to g.toUnicode, for example.
>
> I think this can, and should, be done.  g.app.gui.toUnicode will
> simply do:
>
>    return g.toUnicode(s,g.app.gui.defaultQtEncoding)
>
> where defaultQtEncoding is utf-8 by default, and can be set by @string
> default_qt_encoding setting.

I still think this is wrong (my understanding of unicode), but it's
even more wrong to have it as setting. If anything, it should be
hardcoded to utf-8.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to