commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CODEC-30) [codec] Character "ö" or "é" not mapped in soundex encoding
Date Sat, 13 Aug 2011 00:47:27 GMT

     [ https://issues.apache.org/jira/browse/CODEC-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated CODEC-30:
----------------------

    Description: 
When calling soundex.soundex\(x) with x a string with a diacritical mark 
like "ö" or "é" the following exception occurs:

java.lang.ArrayIndexOutOfBoundsException: 131
        at org.apache.commons.codec.language.Soundex.map(Soundex.java:199)
        at org.apache.commons.codec.language.Soundex.getMappingCode(Soundex.java:157)

This happens when calling the difference(s1, s2) in codec verion 1.3-dev this 
exception occurs too

Cheers Rogier

  was:
When calling soundex.soundex(x) with x a string with a diacritical mark 
like "ö" or "é" the following exception occurs:

java.lang.ArrayIndexOutOfBoundsException: 131
        at org.apache.commons.codec.language.Soundex.map(Soundex.java:199)
        at org.apache.commons.codec.language.Soundex.getMappingCode(Soundex.java
:157)
This happens when calling the difference(s1, s2) in codec verion 1.3-dev this 
exception occurs too

Cheers Rogier


Escape inadvertent special sequence

> [codec] Character "ö" or "é" not mapped in soundex encoding
> -------------------------------------------------------------
>
>                 Key: CODEC-30
>                 URL: https://issues.apache.org/jira/browse/CODEC-30
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Operating System: All
> Platform: All
>            Reporter: Rogier Selie
>
> When calling soundex.soundex\(x) with x a string with a diacritical mark 
> like "ö" or "é" the following exception occurs:
> java.lang.ArrayIndexOutOfBoundsException: 131
>         at org.apache.commons.codec.language.Soundex.map(Soundex.java:199)
>         at org.apache.commons.codec.language.Soundex.getMappingCode(Soundex.java:157)
> This happens when calling the difference(s1, s2) in codec verion 1.3-dev this 
> exception occurs too
> Cheers Rogier

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message