Edit

thodg/libiconv/tests/check-stateful.bat

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2000-12-02 00:44:49
    Hash : 55dbc7f3
    Message : On DOS like systems, perform the test suite in binary mode.

  • tests/check-stateful.bat
  • @ECHO OFF
    REM Simple check of a stateful encoding.
    REM Usage: check-stateful.bat SRCDIR CHARSET
    
    ..\src\iconv --binary -f %2 -t UTF-8 < %1\%2-snippet > tmp-snippet
    fc %1\%2-snippet.UTF-8 tmp-snippet
    ..\src\iconv --binary -f UTF-8 -t %2 < %1\%2-snippet.UTF-8 > tmp-snippet
    fc %1\%2-snippet tmp-snippet
    del tmp-snippet