tunidecode minor improvement (#16157)
This commit is contained in:
parent
c0215d8d0d
commit
6b77e16c6f
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
discard """
|
||||
cmd: "nim $target --hints:on -d:embedUnidecodeTable $options $file"
|
||||
output: "Ausserst"
|
||||
"""
|
||||
|
||||
import unidecode
|
||||
|
|
@ -9,5 +8,5 @@ import std/unidecode # #14112
|
|||
|
||||
loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
|
||||
|
||||
# assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing"
|
||||
echo unidecode("Äußerst")
|
||||
doAssert unidecode("北京") == "Bei Jing "
|
||||
doAssert unidecode("Äußerst") == "Ausserst"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue