Chromium Code Reviews
DescriptionRemove diacritics when normalizing autofill profile strings for comparison.
Uses the ICU Transliterator to remove accents (and other non-spacing marks)
from characters that have an ASCII equivalents and transforms uppercase chars
to lower case, while leaving other charcters unchanged.
See: http://userguide.icu-project.org/transforms/general
BUG=612043
R=mathp@chromium.org, sebsg@chromium.org
Committed: https://crrev.com/96e2312ade0d985d9b2c4877f54dfacd7939bc9f
Cr-Commit-Position: refs/heads/master@{#396748}
Patch Set 1 : Initial CL for Review #Patch Set 2 : Expand unit-tests #
Total comments: 14
Patch Set 3 : Simplify normalization loop and expand test cases. #
Messages
Total messages: 21 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||