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

Matthew Talbert ransom1982 at gmail.com
Mon Jan 26 22:25:27 GMT 2009


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.

Matthew




More information about the Pkg-crosswire-devel mailing list