Commit Graph

2 Commits

Author SHA1 Message Date
John Ralls
4973798c00 Bug #5044: Unable to enter valid dates when the (full) month contains accented letters. [r17859]
This turns out to be a codeset-setting issue, where unicode() returns different (perfectly valid) encodings of the words depending upon which codeset it's given.

There's also a problem with using locale.getpreferredencoding() on OSX: It returns "mac roman", pretty much regardless of the environment locale settings. This isn't correct for recent versions of OSX under any circumstances, so this change also disables calling it on macs.

svn: r17860
2011-06-28 23:07:09 +00:00
John Ralls
20526c3933 Move Mac localization settings inside Gramps. (r17707)
svn: r17708
2011-06-07 16:31:58 +00:00