Comment 19 for bug 671923

Revision history for this message
Nokir (nokir) wrote :

I tried 5.12 with the patch attached (it makes xscreensaver handle multibyte chars as multiple single byte chars and adds the debugging from 5.14) and 5.14 unpatched on Natty.
I entered ö€ and got this (i made the debugging be in hex instead of oct):

xscreensaver 5.12:
## odiaeresis => 2 ö c3 b6
## ISO_Level3_Shift => 0
## EuroSign => 3 € e3 82 ac

xscreensaver 5.14:
## odiaeresis => 1 ö f6
## ISO_Level3_Shift => 0
## EuroSign => 0

So in 5.12 XLookupString() returns utf-8 chars and in 5.14 iso8859-1. So on Natty it won't work for ö because the shadow file is in utf-8 and it will work even less for € since this char can't be encoded in iso8859-1.