Bug 59861

Summary: PROPER text function capitalizes characters following a German scharfes s (ß)
Product: POI Reporter: Javen O'Neal <onealj>
Component: SS CommonAssignee: POI Developers List <dev>
Severity: minor    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   

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.