Regenerated. TCVN can now store the accents.
[libiconv.git] / tests / check-translit.cmd
blobda49e4431d49e63cc40ba9b6f9650cdad65e246f
1 /*
2 * check-translit
4 * Simple check of transliteration facilities.
5 * Usage: check-translit SRCDIR FILE FROMCODE TOCODE
6 */
8 IF RxFuncQuery('SysLoadFuncs') THEN DO
9 CALL RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
10 CALL SysLoadFuncs
11 END
13 '@echo off'
15 PARSE ARG srcdir file fromcode tocode
17 '..\src\iconv --binary -f 'fromcode' -t 'tocode'//TRANSLIT < 'srcdir'\'file'.'fromcode' > tmp'
18 'cmp 'srcdir'\'file'.'tocode' tmp'
19 'rm -f tmp'
20 EXIT