There are several problems: In some cases the escape sequence may even output the wrong character
altogether, if other accented characters are in the alphabet table. Apply this patch:
About Patches
Issue C62115
@ escapes are incorrectly handled in strings
Submitted by: Kevin Bracey
Appeared in: Compiler 6.21 or before
Fixed in: Compiler 6.30
Problem
Solution
--- chars.c~ Wed Apr 28 21:14:39 1999
+++ chars.c Sat Nov 24 09:41:28 2001
@@ -173,7 +173,7 @@
}
}
for (j=0; j<3; j++)
- for (k=0; k<26; k++)
+ for (k=(j<2?0:1); k<26; k++)
{ i=(int) ((alphabet[j])[k]);
zscii_to_alphabet_grid[i] = k + j*26;
iso_to_alphabet_grid[zscii_to_iso_grid[i]] = k + j*26;
--- text.c~ Wed Apr 28 21:17:59 1999
+++ text.c Sat Nov 24 17:01:54 2001
@@ -229,7 +229,12 @@
{
int lookup_value, in_alphabet;
- if (zsc < 0x100) lookup_value = iso_to_alphabet_grid[zsc];
+ if (zsc==' ')
+ { write_z_char(0);
+ return;
+ }
+
+ if (zsc < 0x100) lookup_value = zscii_to_alphabet_grid[zsc];
else lookup_value = -1;
if (lookup_value >= 0)
Last updated 17 April 2013.
This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation.
Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.