speters33w commented on PR #1201:
URL: https://github.com/apache/commons-lang/pull/1201#issuecomment-2060868303

   > Having said that it would be useful, but are there any Unicode 
(database/normalization) based methods to do that without a hand crafted 
replacement rule?
   
   No, there really isn't. The problem is in the Unicode world, if the glyph is 
considered a letter, it's a letter even if typographically it is a ligature 
such as in the case of æ or a contraction such as in the case of ß.
   For example, Đ (\u0110 D with stroke) is considered an accented character, 
where Ð (\u00D0, Eth) is considered a letter.
   When normalized, Đ (DStroke) will be converted to D, Ð (Eth) will remain 
unaltered.
   It's why Ł and ł aren't translated using normalization, and 
convertRemainingAccentCharacters() was required.
   
   


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