diff options
author | Andreas Rumpf <ar@kimeta.de> | 2014-04-10 01:47:20 +0200 |
---|---|---|
committer | Andreas Rumpf <ar@kimeta.de> | 2014-04-10 01:47:20 +0200 |
commit | dcfc7a8896166563f6fd80fbab81bc50e0b5a217 (patch) | |
tree | 4a247ec2d64bafec53e5ab24b0fda89642908a07 /tests/stdlib/tunidecode.nim | |
parent | a86c774932afd8b6782df1925837df9df04ef381 (diff) | |
parent | 8b82004359b8d852fa0107d79cc78b21eb35c028 (diff) | |
download | Nim-dcfc7a8896166563f6fd80fbab81bc50e0b5a217.tar.gz |
resolved conflict
Diffstat (limited to 'tests/stdlib/tunidecode.nim')
-rw-r--r-- | tests/stdlib/tunidecode.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/stdlib/tunidecode.nim b/tests/stdlib/tunidecode.nim new file mode 100644 index 000000000..cb6589d60 --- /dev/null +++ b/tests/stdlib/tunidecode.nim @@ -0,0 +1,12 @@ +discard """ + cmd: "nimrod cc --hints:on -d:embedUnidecodeTable $# $#" + output: "Ausserst" +""" + +import unidecode + +loadUnidecodeTable("lib/pure/unidecode/unidecode.dat") + +#assert unidecode("\x53\x17\x4E\xB0") == "Bei Jing" +echo unidecode("Äußerst") + |