Hi, my locale is ca_ES.UTF-8 so I think that the 'UTF-8' value returned by g.app.tkEncoding should be correct. Anyway I've tried several values (iso-8859-1, iso-8859-15, utf-8) and the problem remains. I'm lost.
Vicent On Jan 29, 1:24 pm, "Edward K. Ream" <[email protected]> wrote: > On Thu, Jan 29, 2009 at 12:57 AM, [email protected] <[email protected]> wrote: > > > I don't understand what should I do in order to fix the > > problem (maybe to change some setting?). In my system g.app.tkEncoding > > is UTF-8. > > It should probably match the encoding used to represent characters locally > on your machine. > > In myLeoSettings.leo, add something like: @string tk_encoding = iso-8859-1 > > If this setting is None (the default), Leo sets g.app.tkEncoding to one of: > > First, g.getpreferredencoding(), that is, _locale._getdefaultlocale()[1] > > Second, sys.getdefaultencoding() > > Finally, the ultimate default is utf-8 > > HTH. > > Edward --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
