Don’t map BCP 47 to coincidentally similar OT tag

This commit is contained in:
David Corbett authored and Behdad Esfahbod committed 2020-11-22 19:35:47 -08:00
1 parent e1df2c5277
commit b2e7bb2a7c
4 files changed
+194 -8

No files matched your search

+4
View File
@@ -483,6 +483,10 @@ test_ot_tag_language (void)
test_tag_from_language ("ZHS", "zh-min-nan");
test_tag_from_language ("ZHS", "zh-xiang");
/* BCP 47 tags that look similar to unrelated language system tags */
test_tag_from_language ("SQI", "als");
test_tag_from_language ("dflt", "far");
/* A UN M.49 region code, not an extended language subtag */
test_tag_from_language ("ARA", "ar-001");