test/bookloupe/charset-latin1.tst
author ali <ali@juiblex.co.uk>
Thu Dec 05 10:58:41 2013 +0000 (2013-12-05)
changeset 219 98fc47ee1beb
permissions -rw-r--r--
Added tag 2.0.69 for changeset b01d4a64a929
ali@127
     1
**************** OPTIONS ****************
ali@127
     2
--charset=ISO-8859-1
ali@127
     3
**************** ENCODING ****************
ali@127
     4
WINDOWS-1252
ali@127
     5
**************** INPUT ****************
ali@127
     6
Where the character set declared is narrower than the character set
ali@127
     7
implied by the encoding as in this case (Windows-1252 is a superset
ali@127
     8
of the first latin alphabet defined in ECMA 94), then bookloupe should
ali@127
     9
warn about characters that are not in the declared character set but
ali@127
    10
should still recognise them and otherwise handle them as it would
ali@127
    11
normally do. We use the curved apostrophe as a test for this since
ali@127
    12
if bookloupe didn't recognise it then it would query the orphaned
ali@127
    13
letters from the genitives and abbreviations.
ali@127
    14
ali@127
    15
John Hendricks was bear-leading at the time. He had originally studied
ali@127
    16
for Holy Orders, but had abandoned the Church later for private reasons
ali@127
    17
connected with his faith, and had taken to teaching and tutoring
ali@127
    18
instead. He was an honest, upstanding fellow of five-and-thirty,
ali@127
    19
incorruptible, intelligent in a simple, straightforward way. He played
ali@127
    20
games with his head, more than most Englishmen do, but he went through
ali@127
    21
life without much calculation. He had qualities that made boys like
ali@127
    22
and respect him; he won their confidence. Poor, proud, ambitious,
ali@127
    23
he realised that fate offered him a chance when the Secretary of
ali@127
    24
State for Scotland asked him if he would give up his other pupils
ali@127
    25
for a year and take his son, Lord Ernie, round the world upon an
ali@127
    26
educational trip that might make a man of him. For Lord Ernie was the
ali@127
    27
only son, and the Marquess’s influence was naturally great. To have
ali@127
    28
deposited a regenerated Lord Ernie at the castle gates might have
ali@127
    29
guaranteed Hendricks’ future. After leaving Eton prematurely the lad
ali@127
    30
had come under Hendricks’ charge for a time, and with such excellent
ali@127
    31
results--‘I’d simply swear by that chap, you know,’ the boy used
ali@127
    32
to say--that his father, considerably impressed, and rather as a
ali@127
    33
last resort, had made this proposition. And Hendricks, without much
ali@127
    34
calculation, had accepted it. He liked ‘Bindy’ for himself. It was
ali@127
    35
in his heart to ‘make a man of him,’ if possible. They had now been
ali@127
    36
round the world together and had come up from Brindisi to the Italian
ali@127
    37
Lakes, and so into Switzerland. It was middle October. With a week or
ali@127
    38
two to spare they were making leisurely for the ancestral halls in
ali@127
    39
Aberdeenshire.
ali@127
    40
**************** EXPECTED ****************
ali@127
    41
ali@127
    42
only son, and the Marquess’s influence was naturally great. To have
ali@127
    43
    Line 22 column 27 - Non-ISO-8859-1 character 8217
ali@127
    44
ali@127
    45
guaranteed Hendricks’ future. After leaving Eton prematurely the lad
ali@127
    46
    Line 24 column 21 - Non-ISO-8859-1 character 8217
ali@127
    47
ali@127
    48
had come under Hendricks’ charge for a time, and with such excellent
ali@127
    49
    Line 25 column 25 - Non-ISO-8859-1 character 8217
ali@127
    50
ali@127
    51
results--‘I’d simply swear by that chap, you know,’ the boy used
ali@127
    52
    Line 26 column 10 - Non-ISO-8859-1 character 8216
ali@127
    53
ali@127
    54
calculation, had accepted it. He liked ‘Bindy’ for himself. It was
ali@127
    55
    Line 29 column 40 - Non-ISO-8859-1 character 8216
ali@127
    56
ali@127
    57
in his heart to ‘make a man of him,’ if possible. They had now been
ali@127
    58
    Line 30 column 17 - Non-ISO-8859-1 character 8216