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