You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Konietzka (JIRA)" <ji...@apache.org> on 2010/11/13 15:40:14 UTC
[jira] Updated: (LANG-658) Some Entitys like Ö are not matched
properly against its ISO8859-1 representation
[ https://issues.apache.org/jira/browse/LANG-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Konietzka updated LANG-658:
-----------------------------------
Fix Version/s: (was: 3.0)
Description:
In EntityArrays
In
private static final String[][] ISO8859_1_ESCAPE
some matching is wrong, for example
{"\u00D7", "Ö"}, // Ö - uppercase O, umlaut
{"\u00D8", "×"}, // multiplication sign
but this must be
{"\u00D6", "Ö"}, // Ö - uppercase O, umlaut
{"\u00D7", "×"}, // multiplication sign
according to http://www.fileformat.info/info/unicode/block/latin_supplement/list.htm
First look:
u00CA is missing in the array and all following entries are matched wrong by an offset of 1.
was:
In EntityArrays
In
private static final String[][] ISO8859_1_ESCAPE
some matching is wrong, for example
{"\u00D7", "Ö"}, // Ö - uppercase O, umlaut
{"\u00D8", "×"}, // multiplication sign
but this must be
{"\u00D6", "Ö"}, // Ö - uppercase O, umlaut
{"\u00D7", "×"}, // multiplication sign
according to http://www.fileformat.info/info/unicode/block/latin_supplement/list.htm
> Some Entitys like Ö are not matched properly against its ISO8859-1 representation
> --------------------------------------------------------------------------------------
>
> Key: LANG-658
> URL: https://issues.apache.org/jira/browse/LANG-658
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.text.translate.*
> Affects Versions: 3.0
> Reporter: Michael Konietzka
>
> In EntityArrays
> In
> private static final String[][] ISO8859_1_ESCAPE
> some matching is wrong, for example
>
> {"\u00D7", "Ö"}, // Ö - uppercase O, umlaut
> {"\u00D8", "×"}, // multiplication sign
> but this must be
> {"\u00D6", "Ö"}, // Ö - uppercase O, umlaut
> {"\u00D7", "×"}, // multiplication sign
> according to http://www.fileformat.info/info/unicode/block/latin_supplement/list.htm
> First look:
> u00CA is missing in the array and all following entries are matched wrong by an offset of 1.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.