Changeset 17477 in josm


Ignore:
Timestamp:
2021-01-28T01:01:14+01:00 (5 weeks ago)
Author:
Don-vip
Message:

fix #20437 - allow unicode characters for "latin iota letter", used in several African languages such as Kabiye (kbp)

Location:
trunk
Files:
2 edited

Legend:

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

    r17153 r17477  
    484484            || c == 0x0263 || c == 0x0194 // "ɣ/Ɣ" (U+0263/U+0194), see #18740
    485485            || c == 0x0268 || c == 0x0197 // "ɨ/Ɨ" (U+0268/U+0197), see #18740
     486            || c == 0x0269 || c == 0x0196 // "ɩ/Ɩ" (U+0269/U+0196), see #20437
    486487            || c == 0x0272 || c == 0x019D // "ɲ/Ɲ" (U+0272/U+019D), see #18740
    487488            || c == 0x0273 || c == 0x019E // "ŋ/Ŋ" (U+0273/U+019E), see #18740
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/TagCheckerTest.java

    r17275 r17477  
    374374        assertEquals(0, errors.size());
    375375    }
     376
     377    /**
     378     * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/20437">Bug #20437</a>.
     379     */
     380    @Test
     381    void testTicket20437() {
     382        assertFalse(TagChecker.containsUnusualUnicodeCharacter("name:kbp", "Wasɩŋtɔŋ"));
     383        assertFalse(TagChecker.containsUnusualUnicodeCharacter("name:kbp", "Kalɩfɔrnii"));
     384    }
    376385}
Note: See TracChangeset for help on using the changeset viewer.