tunidecode.nim 282 B

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