tunidecode.nim 263 B

12345678910111213
  1. discard """
  2. cmd: "nim $target --hints:on -d:embedUnidecodeTable $options $file"
  3. output: "Ausserst"
  4. """
  5. import unidecode
  6. loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")
  7. #assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing"
  8. echo unidecode("Äußerst")