You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/07/15 07:31:17 UTC

[Bug 59861] New: PROPER text function capitalizes characters following a German scharfes s (ß)

https://bz.apache.org/bugzilla/show_bug.cgi?id=59861

            Bug ID: 59861
           Summary: PROPER text function capitalizes characters following
                    a German scharfes s (ß)
           Product: POI
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: SS Common
          Assignee: dev@poi.apache.org
          Reporter: onealj@apache.org

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ß"

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 59861] PROPER text function capitalizes characters following a German scharfes s (ß)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59861

--- Comment #1 from Javen O'Neal <on...@apache.org> ---
In r1752786

This is due to Character.isLetter("ß") returning false.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 59861] PROPER text function capitalizes characters following a German scharfes s (ß)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59861

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org