Annotation of embedaddon/libiconv/tests/check-stateful.bat, revision 1.1.1.2
1.1 misho 1: @ECHO OFF
2: REM Simple check of a stateful encoding.
3: REM Usage: check-stateful.bat SRCDIR CHARSET
4:
1.1.1.2 ! misho 5: if not exist %1\%2-snippet.alt goto ENDIF_1
! 6: ..\src\iconv_no_i18n -f %2 -t UTF-8 < %1\%2-snippet.alt > tmp-snippet
! 7: fc %1\%2-snippet.UTF-8 tmp-snippet
! 8: :ENDIF_1
! 9:
1.1 misho 10: ..\src\iconv_no_i18n -f %2 -t UTF-8 < %1\%2-snippet > tmp-snippet
11: fc %1\%2-snippet.UTF-8 tmp-snippet
12: ..\src\iconv_no_i18n -f UTF-8 -t %2 < %1\%2-snippet.UTF-8 > tmp-snippet
13: fc %1\%2-snippet tmp-snippet
14: del tmp-snippet
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>