Inform - Support - Patches

About Patches  

Compiler  
Library  

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
Problem

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];

to

  k2 = iso_to_alphabet_grid[(uchar) k];


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.