mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
13 lines
282 B
Nim
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"
|