Ticket #368 (Open)Wed Dec 04 22:12:09 UTC 2013
CollateGermanSharpS routine in Territory/Module/s/Entries doesn't work
Reported by: | Dick Tanis (1648) | Severity: | Minor |
Part: | RISC OS: Module | Release: | |
Milestone: | Status | Open |
Details by Dick Tanis (1648):
When using Territory_Collate to compare the strings ‘fussball’ and ‘fußball’ under the German territory the result is not equal. The CollateGermanSharpS routine doesn’t substitute the ‘ß’ with an ‘s’ when the ‘ß’ char is read for the second time. Suggested solution code:
TEQ r12, #'ß'
MOVEQ r12, #'s'
EOREQS r3, r3, #&00800000
TST r3, #&00800000
SUBNE r1, r1, #1
TEQ r6, #'ß'
MOVEQ r6, #'s'
EOREQS r3, r3, #&00400000
TST r3, #&00400000
SUBNE r2, r2, #1
Now ‘ß’ is always substituted to an ‘s’.
Changelog:
Modified by Sprow (202) Thu, December 05 2013 - 09:12:21 GMT
The collate currently operates as s/sharp s to be consistent with Territory_Transform. If the above change is made (which matches my education, where a sharp s = ss) then Territory_Transform would be wrong I think.