added wxHTML i18n demonstration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
14
samples/html/test/8859_2.htm
Normal file
14
samples/html/test/8859_2.htm
Normal file
@@ -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<EFBFBD><EFBFBD>li<EFBFBD> <20>lu<6C>ou<6F>k<EFBFBD> k<><6B> <20>p<EFBFBD>l <20><>belsk<73> <20>dy.</b>
|
||||||
|
<p>
|
||||||
|
The sentence above should look like this:
|
||||||
|
<p align=center><img src="i18n.gif">
|
||||||
|
</body>
|
||||||
|
</html>
|
@@ -18,7 +18,7 @@ PROGRAM=test
|
|||||||
OBJECTS=$(PROGRAM).o
|
OBJECTS=$(PROGRAM).o
|
||||||
|
|
||||||
DATAFILES=f.html fft.html imagemap.htm imagemap.png pic.png pic2.bmp \
|
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
|
include ../../../src/makeprog.env
|
||||||
|
|
||||||
|
19
samples/html/test/cp1250.htm
Normal file
19
samples/html/test/cp1250.htm
Normal file
@@ -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<EFBFBD><EFBFBD>li<EFBFBD> <20>lu<6C>ou<6F>k<EFBFBD> k<><6B> <20>p<EFBFBD>l <20><>belsk<73> <20>dy.</b>
|
||||||
|
<p>
|
||||||
|
And now in forced arial face:
|
||||||
|
<p><font face="Arial,arial">
|
||||||
|
<b>P<EFBFBD><EFBFBD>li<EFBFBD> <20>lu<6C>ou<6F>k<EFBFBD> k<><6B> <20>p<EFBFBD>l <20><>belsk<73> <20>dy.</b>
|
||||||
|
</font>
|
||||||
|
<p>
|
||||||
|
The sentence above should look like this:
|
||||||
|
<p align=center><img src="i18n.gif">
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
samples/html/test/i18n.gif
Normal file
BIN
samples/html/test/i18n.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
@@ -6,10 +6,15 @@
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY TEXT="#000000" BGCOLOR="#B3B6E0" LINK="#0000FF" VLINK="#FF0000" ALINK="#000088">
|
<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>
|
<b><a href="tables.htm">click here to go to tables test page!</a></b>
|
||||||
<p>
|
<p>
|
||||||
<b><a href="imagemap.htm">click here to go to IMAGEMAPs test page!</a></b>
|
<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>
|
<p>
|
||||||
This is - - default text, now switching to
|
This is - - default text, now switching to
|
||||||
<CENTER>
|
<CENTER>
|
||||||
|
Reference in New Issue
Block a user