summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-20 18:26:55 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-20 18:26:55 +0000
commit7761520be78bcc252954127dbf7ca137d3287a49 (patch)
tree0c79c21b008970dcb5b9d07f699f4c26b46ecbd1
parent50301943c086ec4a2b2c744ccdd7b2901df60d9c (diff)
downloadhalibut-7761520be78bcc252954127dbf7ca137d3287a49.zip
halibut-7761520be78bcc252954127dbf7ca137d3287a49.tar.gz
halibut-7761520be78bcc252954127dbf7ca137d3287a49.tar.bz2
halibut-7761520be78bcc252954127dbf7ca137d3287a49.tar.xz
Add some tests of input charset switching.
[originally from svn r4099]
-rw-r--r--inputs/test.but12
1 files changed, 7 insertions, 5 deletions
diff --git a/inputs/test.but b/inputs/test.but
index 7b0df07..21e390e 100644
--- a/inputs/test.but
+++ b/inputs/test.but
@@ -32,7 +32,7 @@ a bit]
\define{eur} \u20AC{EUR }
-\versionid $Id: test.but,v 1.27 2004/04/19 17:09:49 simon Exp $
+\versionid $Id: test.but,v 1.28 2004/04/20 18:26:55 simon Exp $
\C{ch\\ap} First chapter title; for similar wrapping reasons this
chapter title will be ludicrously long. I wonder how much more
@@ -170,17 +170,19 @@ A slightly more difficult macro: \eur\.2500.
Test of input character set switching.
-\b 8859 character in ASCII mode: expect nothing useful. [coöpt]
+\n 8859 character in ASCII mode: expect nothing useful. [coöpt]
\cfg{input-charset}{ISO-8859-1}
-\b 8859 character in 8859 mode: expect the right thing. [coöpt]
+\n 8859 character in 8859 mode: expect the right thing. [coöpt]
\cfg{input-charset}{UTF-8}
-\b 8859 character in UTF-8 mode: expect the wrong thing. [coöpt]
+\n 8859 character in UTF-8 mode: expect the wrong thing. [coöpt]
-\b UTF-8 sequence in UTF-8 mode: expect the right thing again. [coöpt]
+\cfg{silliness}{coöpt}
+
+\n UTF-8 sequence in UTF-8 mode: expect the right thing again. [coöpt]
\cfg{input-charset}{ASCII}