test/bookloupe/charset-cp1252.tst
author ali <ali@juiblex.co.uk>
Thu Oct 17 08:05:05 2013 +0100 (2013-10-17)
changeset 178 db7b24d83bed
permissions -rw-r--r--
Merge bug #14: Add a configuration file
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 ****************