You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/09/10 14:54:52 UTC

[jira] [Commented] (LANG-915) Wrong locale handling in LocaleUtils.toLocale()

    [ https://issues.apache.org/jira/browse/LANG-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763013#comment-13763013 ] 

Gary Gregory commented on LANG-915:
-----------------------------------

Could you please provide a unit test patch that demonstrates the problem?

A patch to fix would be welcome as well! :)

Gary
                
> Wrong locale handling in LocaleUtils.toLocale()
> -----------------------------------------------
>
>                 Key: LANG-915
>                 URL: https://issues.apache.org/jira/browse/LANG-915
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Sergio Fernández
>            Priority: Minor
>
> The static method LocaleUtils.toLocale() fails, at least, to parse 3-char locale strings, which are completelly valid BCP47 locales.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira