Ignore:
Timestamp:
2020-02-21T19:56:12+01:00 (4 years ago)
Author:
simon04
Message:

fix #18740 - Tag checker: whitelist a few phonetic characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java

    r15788 r15888  
    466466
    467467    private static boolean isAllowedPhoneticCharacter(String key, int c) {
    468         return c == 0x0259                                          // U+0259 is used as a standard character in azerbaidjani
     468        return c == 0x0259 || c == 0x018F // U+0259 is paired with the capital letter U+018F in Azeri, see #18740
     469            || c == 0x0254 || c == 0x0186 // U+0254 is paired with the capital letter U+0186 in several African languages, see #18740
     470            || c == 0x025B || c == 0x0190 // U+025B is paired with the capital letter U+0190 in several African languages, see #18740
    469471            || (key.endsWith("ref") && 0x1D2C <= c && c <= 0x1D42); // allow uppercase superscript latin characters in *ref tags
    470472    }
Note: See TracChangeset for help on using the changeset viewer.