Files
Nim/tests/run/tunidecode.nim

13 lines
252 B
Nim

discard """
cmd: "nimrod cc --hints:on -d:embedUnidecodeTable $# $#"
output: "Ausserst"
"""
import unidecode
loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
#assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing"
echo unidecode("Äußerst")