Qt QString does have a locale aware comparison function but the user's locale is used and it can not be set in the function call. On Mac OSX it uses the International Setting Preferences to determine the locale to use.
The only issue then would be the ebook author who runs Sigil must run Sigil in the locale for where the book is to be read. For those authors running Sigil in their native language, there should be no issues. For those ebook professionals who develop ebooks with multiple translations this is going to be an issue.
I can try to change the code to use a locale aware comparison, but handling this in a plugin may be better as it gives you more control for locale source and destination possibilities.
|