• Jungshik Shin's avatar
    Map U+04CF to lowercase L as well. · f9b56bc5
    Jungshik Shin authored
    U+04CF (ӏ) has the confusability skeleton of 'i' (lowercase
    I), but it can be confused for 'l' (lowercase L) or '1' (digit) if rendered
    in some fonts.
    
    If a host name contains it, calculate the confusability skeleton
    twice, once with the default mapping to 'i' (lowercase I) and the 2nd
    time with an alternative mapping to 'l'. Mapping them to 'l' (lowercase L)
    also gets it treated as similar to digit 1 because the confusability
    skeleton of digit 1 is 'l'.
    
    Bug: 817247
    Test: components_unittests --gtest_filter=*IDN*
    Change-Id: I7442b950c9457eea285e17f01d1f43c9acc5d79c
    Reviewed-on: https://chromium-review.googlesource.com/974165
    Commit-Queue: Jungshik Shin <jshin@chromium.org>
    Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
    Reviewed-by: default avatarEric Lawrence <elawrence@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#551263}
    f9b56bc5
url_formatter_unittest.cc 69.6 KB