[sword-devel] Fwd: Re: bibletime stuff
Troy A. Griffitts
Tue, 27 Aug 2002 10:23:51 -0700
After reviewing the patch (most of which was just re-indenting the
current code), it seems that what you are asking is to have
getBookAbbrev first try the normal toupper match, and if none is found,
also try a match without changing the case. Is this correct? I don't
mind this. Eventually, we're hoping to switch the toupper logic to icu
if it is present, and also add an Encoding= to the locale, and this
should allow better handling of locales. I'll add this logic to the
getBookAbbrev method (without the 'goto' statement :) ) if this will
help, for now.
Joachim Ansorg wrote:
> This is a patch to make locales, which are currently not working work better
> (e.h. russian).
> Troy, can you please review this and post your ok or criticism?
> ---------- Forwarded Message ----------
> Subject: Re: bibletime stuff
> Date: Sun, 25 Aug 2002 21:54:54 +0000
> From: "John Being" <email@example.com>
> To: firstname.lastname@example.org
>>>Currently it doesn't work out of the box (for the same reasons as Hebrew
>>>translation, and most other non-West Europian encodings), I would fix it
>>>nobody else gonna do that.
>>Does the attached file work better now? I hope it does, because on my box
>>works ok (choosing the books of the list in BibleTime works, at least I
>>it looks like russian :)
> Well not for me - Sword gives bunch of messages like this:
> Book: Иеремия does not have a
> matching toupper abbrevs entry! book number returned was: -1
> Book name is in Russian. I created dirty hack(see attachment) for Sword
> that makes it working (but slows stuff down for affected locales).
> Probably it should be in CVS until we'll get better uppercase logic.
> Chat with friends online, try MSN Messenger: http://messenger.msn.com