Bug 59861 - PROPER text function capitalizes characters following a German scharfes s (ß)
Summary: PROPER text function capitalizes characters following a German scharfes s (ß)
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: SS Common (show other bugs)
Version: unspecified
Hardware: PC All
: P2 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 07:31 UTC by Javen O'Neal
Modified: 2016-07-15 18:26 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javen O'Neal 2016-07-15 07:31:17 UTC
I added two commented-out test cases testing the PROPER TextFunction that fail (at least according to LibreOffice's behavior).

Case 1:
> PROPER("straße") -> expected "Straße", got "StraßE"

Case 2:
> PROPER("ßundß") -> expected "SSundß", got "SSUndß"
Comment 1 Javen O'Neal 2016-07-15 07:37:41 UTC
In r1752786

This is due to Character.isLetter("ß") returning false.
Comment 2 Dominik Stadler 2016-07-15 18:26:12 UTC
Both work for me when I remove the "$" where the "sharfes s" is constructed.

Also assertTrue(Character.isLetter(scharfes.charAt(0))); works for me as well.

I enabled the checks via r1752861 to see if they pass in CI as well. I'll reopen this issue if it fails there or you still see the failure with the tests.