]> git.bitcoin.ninja Git - youtube-dl/commit
[utils] Transliterate "þ" as "th" (#20897)
authorJakub Wilk <jwilk@jwilk.net>
Fri, 10 May 2019 18:42:32 +0000 (20:42 +0200)
committerSergey M <dstftw@gmail.com>
Fri, 10 May 2019 18:42:31 +0000 (01:42 +0700)
commitfd35d8cdfdc77ca6ec6d87677fe0d00df0cbb22a
tree266fb842f011010adb2d0b0a3a55810cde82f95c
parent4eec112740910621a7fd9c50158fb2388649d8b7
[utils] Transliterate "þ" as "th" (#20897)

Despite visual similarity "þ" is unrelated to "p".
It is normally transliterated as "th":

    $ echo þ-Þ | iconv -t ASCII//TRANSLIT
    th-TH
test/test_utils.py
youtube_dl/utils.py