test/bookloupe/charset-cp1252.tst
author ali <ali@juiblex.co.uk>
Sun Oct 27 17:01:47 2013 +0000 (2013-10-27)
changeset 103 d22d8cd4f628
permissions -rw-r--r--
Fix bug #13: Character sets
ali@103
     1
**************** OPTIONS ****************
ali@103
     2
--charset=WINDOWS-1252
ali@103
     3
**************** ENCODING ****************
ali@103
     4
WINDOWS-1252
ali@103
     5
**************** INPUT ****************
ali@103
     6
Unless binary mode is engaged, gutcheck will warn about a number of
ali@103
     7
characters defined in Windows-1252. Bookloupe provides support for
ali@103
     8
disabling such checks without concern as to the file size and how
ali@103
     9
many characters with the eighth bit set it may contain by allowing a
ali@103
    10
character set to be declared. With the character set declared as
ali@103
    11
WINDOWS-1252, all characters defined in Windows-1252 shoud be acceptable
ali@103
    12
and no warnings should be issued.
ali@103
    13
ali@103
    14
We test for this by including just one such character—the em dash.
ali@103
    15
ali@103
    16
**************** EXPECTED ****************