]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxHTML i18n demonstration
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Jan 2000 22:52:41 +0000 (22:52 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Jan 2000 22:52:41 +0000 (22:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/html/test/8859_2.htm [new file with mode: 0644]
samples/html/test/Makefile.in
samples/html/test/cp1250.htm [new file with mode: 0644]
samples/html/test/i18n.gif [new file with mode: 0644]
samples/html/test/test.htm

diff --git a/samples/html/test/8859_2.htm b/samples/html/test/8859_2.htm
new file mode 100644 (file)
index 0000000..718b083
--- /dev/null
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
+    <title>ISO_8859-2 document</title>
+  </head>
+  <body>
+    Hi, this document is encoded in ISO_8859-2:
+    <p>
+    <b>Pøíli¹ ¾lu»ouèký kùò úpìl ïábelské ódy.</b>
+    <p>
+    The sentence above should look like this:
+    <p align=center><img src="i18n.gif">    
+  </body>
+</html>
index 9bdf5dca4f812bbd3f0b1fe1581b1dabe79c1828..fab21cd7019de41007f9f8b896985fe5fc6e1ccd 100644 (file)
@@ -18,7 +18,7 @@ PROGRAM=test
 OBJECTS=$(PROGRAM).o
 
 DATAFILES=f.html fft.html imagemap.htm imagemap.png pic.png pic2.bmp \
-    tables.htm test.htm
+    tables.htm test.htm i18n.gif 8859_2.htm cp1250.htm
 
 include ../../../src/makeprog.env
 
diff --git a/samples/html/test/cp1250.htm b/samples/html/test/cp1250.htm
new file mode 100644 (file)
index 0000000..9b92119
--- /dev/null
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
+    <title>CP1250 document</title>
+  </head>
+  <body>
+    Hi, this document is encoded in CP1250:
+    <p>
+    <b>Pøíli\9a \9elu\9douèký kùò úpìl ïábelské ódy.</b>
+    <p>
+    And now in forced arial face:
+    <p><font face="Arial,arial">
+    <b>Pøíli\9a \9elu\9douèký kùò úpìl ïábelské ódy.</b>
+    </font>
+    <p>
+    The sentence above should look like this:
+    <p align=center><img src="i18n.gif">
+  </body>
+</html>
diff --git a/samples/html/test/i18n.gif b/samples/html/test/i18n.gif
new file mode 100644 (file)
index 0000000..b7e2790
Binary files /dev/null and b/samples/html/test/i18n.gif differ
index cd3cd9ac5758d65b0665c9276d25c3d5cf0f30ac..39abd6a58eef181cc4bea383cbff1b945075b871 100644 (file)
@@ -6,10 +6,15 @@
 </HEAD>
 <BODY TEXT="#000000" BGCOLOR="#B3B6E0" LINK="#0000FF" VLINK="#FF0000" ALINK="#000088">
 
+<font size=+2>
 <b><a href="tables.htm">click here to go to tables test page!</a></b>
 <p>
 <b><a href="imagemap.htm">click here to go to IMAGEMAPs test page!</a></b>
-
+<p>
+<b><a href="8859_2.htm">i18n demo 1 (iso8859-2)</a></b>
+<p>
+<b><a href="cp1250.htm">i18n demo 2 (cp1250)</a></b>
+</font>
 <p>
 This is - - default text, now switching to
 <CENTER>