summary refs log tree commit diff stats
path: root/tests/stdlib/tunidecode.nim
blob: 689453c76f75b3980f9a1f6157aee3d7c9a4c5cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
  cmd: "nim $target --hints:on -d:embedUnidecodeTable $options $file"
  output: "Ausserst"
"""

import unidecode

loadUnidecodeTable("lib/pure/unidecode/unidecode.dat")

#assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing"
echo unidecode("Äußerst")
lass="p">: "@exercism/javascript-triangle", "description": "Exercism exercises in Javascript.", "author": "Katrina Owen", "private": true, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/exercism/javascript", "directory": "exercises/practice/triangle" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@babel/plugin-syntax-bigint": "^7.8.3", "@babel/preset-env": "^7.15.4", "@exercism/eslint-config-javascript": "^0.5.0", "@types/jest": "^26.0.24", "@types/node": "^16.7.10", "babel-jest": "^26.6.3", "core-js": "^3.17.2", "eslint": "^7.32.0", "jest": "^26.6.3" }, "dependencies": {}, "scripts": { "test": "jest --no-cache ./*", "watch": "jest --no-cache --watch ./*", "lint": "eslint ." } }