tunidecode.nim 294 B

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