[Pkg-crosswire-devel] Miscellaneous responses to various threads

DM Smith dmsmith555 at yahoo.com
Mon Jan 26 22:31:40 GMT 2009


Matthew Talbert wrote:
> On Mon, Jan 26, 2009 at 5:24 PM, DM Smith <dmsmith555 at yahoo.com> wrote:
>   
>> Matthew Talbert wrote:
>>     
>>>> The SWORD lib (and it is properly branded in upper case) has one place
>>>> where ICU is critical. If ICU is not present SWORD's upper case string
>>>> converter will use an ASCII upper case routine (e.g. that from ctype) as
>>>> a fallback, otherwise it will use a UTF-8 aware ICU routine. There are
>>>> at least two places that this makes a difference:
>>>> 1) The rendering of <divineName>Lord's</divineName> into all upper-case
>>>> where the ' is a non-ASCII character. Without ICU, it breaks.
>>>> 2) Dictionaries are keyed and indexed on upper case words. When a user
>>>> selects a lower case word for lookup, it is uppercased. If it has
>>>> non-ASCII characters, it breaks.
>>>>
>>>>         
>>> However, GnomeSword and BibleTime both provide their own string casing
>>> function for this purpose, both using standard unicode definitions to
>>> provide casing. So, as I've said, even if SWORD is built with ICU, it
>>> will provide no benefit to the end user, and may lead to stability
>>> issues.
>>>       
>> Are you saying that they replace SWORD's StringMgr with their own? This is
>> used internally by SWORD to do upper and lower casing.
>>
>>     
>
> Yes, precisely. It has been this way for years.
>
>   
Hmm, I guess I'm getting old and forgetful. I seem to remember that 
GnomeSword had a problem with <divineName>Lord's</divineName> and we 
traced it to that ICU was not being used.

Great news if that is the case.

In Him,
    DM





More information about the Pkg-crosswire-devel mailing list