From 0aa28e28b4e0533a2af928cd69f2a56178002071 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 16 Apr 2010 14:49:08 +0000 Subject: [PATCH] Minor corrections and additions to misc UTF-8 test files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- misc/README | 28 +++++++++++++++++++++++----- misc/cp1252_utf-8.txt | 2 +- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/misc/README b/misc/README index f36f6ae02..bef092f84 100644 --- a/misc/README +++ b/misc/README @@ -1,3 +1,4 @@ +// // $Id$ // // Miscellaneous files for developers: @@ -13,8 +14,9 @@ watch cursor movement, drawing artefacts, etc.. CAUTION: Do not 'cat' these files unless you know what you're doing. Especially the cp1252* files can contain control characters that may freeze -your screen (xterm etc.). +your screen (xterm etc.). +Detailed file description: The "native" encoded files contain 8-bit characters with binary values that can be seen at the top and left borders, resp. (add both). They should look @@ -32,6 +34,21 @@ capable systems. The files with names iso-8859-1_* contain only the ISO-8859-1 subset, i.e. the colums with character codes x'80' - x'9F' (U+0080 - U+009F) are empty. +Special Notes: + + U+0022 ("quotation mark") is doubled intentionally. This has been done for + better results in test/editor, because otherwise the rest of the file would + be shown in blue color (as a comment). + + U+0098 ("small tilde") may not display correctly on Windows systems. I saw + the same effect with other Windows editors as well. The following characters + may be display "shifted left" by one position. Seems to work correctly on + Linux (with UTF-8 encoding). + + There may currently be drawing artefacts when moving the cursor forwards + and/or backwards over some "special" characters. + + References: http://unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT @@ -50,8 +67,8 @@ The following two files contain the full Windows Codepage 1252: The following two files contain only the ISO-8859-1 characters: - iso-8859-1.txt - iso-8859-1_utf-8.txt + iso-8859-1.txt native (Windows) encoding, suitable for FLTK 1.1 + iso-8859-1_utf-8.txt UTF-8 encoding, suitable for FLTK 1.3 and greater @@ -61,11 +78,12 @@ Other developer support files: doxystar.cxx Use this to reformat doxygen comments (test only). Compile with: g++ -o doxystar doxystar.cxx - + Usage: cat file | doxystar DO NOT USE this for current code development! - It is intended for testing of for future code reformatting ! + + It is intended for testing of future code reformatting ! // // End of $Id$. diff --git a/misc/cp1252_utf-8.txt b/misc/cp1252_utf-8.txt index 14ef81da7..240f0f1f8 100644 --- a/misc/cp1252_utf-8.txt +++ b/misc/cp1252_utf-8.txt @@ -20,5 +20,5 @@ | 15 | F | SI US / ? O _ o DEL Ÿ ¯ ¿ Ï ß ï ÿ | +----+---+-----------------------------------------------------------------+ -File: cp1252_utf8.txt +File: cp1252_utf-8.txt Encoding: UTF-8