u8_totitle accepts most of the non-alphanumeric ascii codes as word- separators, but besides the 'dot', it fails to recognize the colon (:) and the underscore (_) as separators (can't see why), and also fails the recognize the apostrophe.
I can see reason for this last - one wouldn't want "Adam'S House", or (for that matter) "Wouldn'T". But I suspect that there would be more cases of "M de l'Isle", or "Charles o'Hara", where the names do require capitalisation. The abbreviative use would normally be followed by a single character (and that normally "s"), so could be allowed for with a test on the length of the following "word". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902088 Title: u8_totitle() fails to handle "." as a word separator To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libunistring/+bug/1902088/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
