seadbrane commented on PR #1271:
URL: https://github.com/apache/commons-lang/pull/1271#issuecomment-3762816262

   Yes, I think there is a need for the old behavior, although I think at this 
point introducing as a new method would be sufficient.  
   
   Support for the language tag format defined by the BCP47, which uses '-' 
(dash) as a separator, was added in LANG-1172.  The old behavior was to not 
accept this format, and only accept locale strings where  "The separator must 
be an underscore".   
   
   The format is part of the POSIX (IEEE Std 1003.1 / ISO/IEC 9945) Base 
Specifications.
   
   `language[_territory][.codeset]`
   
   
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap08.html#tag_08_01_02
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to