Files
Nim/tests/stdlib/tunidecode.nim
2020-11-27 12:41:22 +08:00

13 lines
282 B
Nim

discard """
cmd: "nim $target --hints:on -d:embedUnidecodeTable $options $file"
"""
import unidecode
import std/unidecode # #14112
loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
doAssert unidecode("北京") == "Bei Jing "
doAssert unidecode("Äußerst") == "Ausserst"