Better, I think, to avoid mapping 0x00 -> U+0020 in the X11
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Dec 2002 15:42:07 +0000 (15:42 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Dec 2002 15:42:07 +0000 (15:42 +0000)
nonstandard font encoding. 0x20 maps to it, so it's not as if it's
in short supply.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2396 cda61777-01e9-0310-a592-d414129be87e

charset/sbcs.dat

index 2071717..daf14fb 100644 (file)
@@ -306,8 +306,13 @@ charset CS_ISO8859_16
   appear from positions 0x5F to 0x7E inclusive. Here is the modified
   ISO8859-1 code table.
 
+  Note that position 0 is still 0000, not 0020 as it might plausibly
+  be, because I didn't like the idea that converting several words
+  in Unicode through this table would produce NULs in place of all
+  the spaces! In principle that works fine, but it makes me uneasy.
+
 charset CS_ISO8859_1_X11
-0020 2666 2592 2409 240c 240d 240a 00b0 00b1 2424 240b 2518 2510 250c 2514 253c
+0000 2666 2592 2409 240c 240d 240a 00b0 00b1 2424 240b 2518 2510 250c 2514 253c
 23ba 23bb 2500 23bc 23bd 251c 2524 2534 252c 2502 2264 2265 03c0 2260 00a3 00b7
 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 002a 002b 002c 002d 002e 002f
 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 003a 003b 003c 003d 003e 003f