Inform - Support - Patches

About Patches  


DM4 Errata  

Issue C62117

Problem using non-ASCII characters in dictionary words
Submitted by: Fredrick Ramsberg     Appeared in: Compiler 6.21 or before     Fixed in: Compiler 6.30

On a platform where char is signed (all except RISC OS, OS/2 and VMS, according to Inform's header file), if you use a non-ASCII character in a dictionary word, the dictionary word is corrupted, amd the compiler may crash.

The problem can be worked around by using @ escapes instead of literal non-ASCII characters in dictionary words.

Solution (by Kevin Bracey)

Line 871 of text.c should be changed from

  k2 = iso_to_alphabet_grid[k];


  k2 = iso_to_alphabet_grid[(uchar) k];

Last updated 17 April 2013. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Roger Firth.