tworld icon indicating copy to clipboard operation
tworld copied to clipboard

Error interpolating Unicode text

Open erkyrath opened this issue 10 years ago • 0 comments

Code property:

print('the D’ni symbol ');
style('dni')
print(dninumbers[val])
endstyle('dni')
print(' (the number %d)' % val)

Room description:

Mounted on the [wall] is a plaque with [[dninumber(5)]].

W Jun-15 21:40:06: evalctx:423] Caught exception (interpolating): 'ascii' codec can't encode character '\u2019' in position 13: ordinal not in range(128)

(But only on the live server, not at home? Locale issues, whee)

erkyrath avatar Jun 15 '14 21:06 erkyrath