Added misc/cp1252.html and misc/cp1252_utf-8.html for UTF-8 testing.

These files can be used to test drag'n'drop from a browser to another
application and test correct character conversion.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2010-12-11 14:14:28 +00:00
parent beb02e12f6
commit b64efff5a2
2 changed files with 78 additions and 0 deletions

39
misc/cp1252.html Normal file
View File

@ -0,0 +1,39 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>UTF-8 Test File: Windows Code Page 1252 (Western) [windows-1252]</title>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'/>
</head>
<body>
<h1>Windows Code Page 1252 (aka "Western")</h1>
<pre>
+---------------+-------------------------------------------------+
| octal --> | 0 1 2 3 4 5 6 7 10 11 12 13 14 16 16 17 |
| | dec. -> | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
| v | v |hex| 0 1 2 3 4 5 6 7 8 9 A B C D E F |
+-----+-----+---+-------------------------------------------------+
| 0 | 0 | 0 | |
| 20 | 16 | 1 | |
| 40 | 32 | 2 | ! "" # $ % & ' ( ) * + , - . / |
| 60 | 48 | 3 | 0 1 2 3 4 5 6 7 8 9 : ; < = > ? |
| 100 | 64 | 4 | @ A B C D E F G H I J K L M N O |
| 120 | 80 | 5 | P Q R S T U V W X Y Z [ \ ] ^ _ |
| 140 | 96 | 6 | ` a b c d e f g h i j k l m n o |
| 160 | 112 | 7 | p q r s t u v w x y z { | } ~ |
| 200 | 128 | 8 | € ƒ „ … † ‡ ˆ ‰ Š Œ Ž |
| 220 | 144 | 9 | “ ” • ˜ ™ š œ ž Ÿ |
| 240 | 160 | A |   ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ |
| 260 | 176 | B | ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ |
| 300 | 192 | C | À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï |
| 320 | 208 | D | Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß |
| 340 | 224 | E | à á â ã ä å æ ç è é ê ë ì í î ï |
| 360 | 240 | F | ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ |
+-----+-----+---+-------------------------------------------------+
File: cp1252.html
Encoding: windows-1252 = Windows Code Page 1252 ("Western")
Meta tag: content='text/html; charset=windows-1252'
</pre>
</body>
</html>

39
misc/cp1252_utf-8.html Normal file
View File

@ -0,0 +1,39 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>UTF-8 Test File: Windows Code Page 1252 (Western) [UTF-8]</title>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
</head>
<body>
<h1>Windows Code Page 1252 (aka "Western")</h1>
<pre>
+---------------+-------------------------------------------------+
| octal --> | 0 1 2 3 4 5 6 7 10 11 12 13 14 16 16 17 |
| | dec. -> | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
| v | v |hex| 0 1 2 3 4 5 6 7 8 9 A B C D E F |
+-----+-----+---+-------------------------------------------------+
| 0 | 0 | 0 | |
| 20 | 16 | 1 | |
| 40 | 32 | 2 | ! "" # $ % & ' ( ) * + , - . / |
| 60 | 48 | 3 | 0 1 2 3 4 5 6 7 8 9 : ; < = > ? |
| 100 | 64 | 4 | @ A B C D E F G H I J K L M N O |
| 120 | 80 | 5 | P Q R S T U V W X Y Z [ \ ] ^ _ |
| 140 | 96 | 6 | ` a b c d e f g h i j k l m n o |
| 160 | 112 | 7 | p q r s t u v w x y z { | } ~ |
| 200 | 128 | 8 | € ƒ „ … † ‡ ˆ ‰ Š Œ Ž |
| 220 | 144 | 9 | “ ” • ˜ ™ š œ ž Ÿ |
| 240 | 160 | A |   ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ |
| 260 | 176 | B | ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ |
| 300 | 192 | C | À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï |
| 320 | 208 | D | Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß |
| 340 | 224 | E | à á â ã ä å æ ç è é ê ë ì í î ï |
| 360 | 240 | F | ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ |
+-----+-----+---+-------------------------------------------------+
File: cp1252_utf-8.html
Encoding: UTF-8
Meta tag: content='text/html; charset=UTF-8'
</pre>
</body>
</html>