From: Conal E. <co...@co...> - 2006-11-30 22:26:53
|
I don't know whether Unicode was enabled in my wxWidgets build. I have wxWidgets 2.4.2 and configured compilation without any mention of unicode. Would I want unicode enabled or disabled? I just tried a clean build & install with --enable-unicode and one with --disable-unicode, and I got the same truncation behavior in both cases. What is the ideal version of wxWidgets and what are the ideal build configuration parameters for wxWidgets & wxHaskell with ghc-6.6? And does anyone have wxHaskell working correctly (not just compiling) with ghc-6.6? - Conal On 11/30/06, Eric Kow <eri...@gm...> wrote: > > Is you wxWidgets Unicode-enabled? That might fit in with what Daan is > saying: we are sending whar_t, 4 bytes at a time, so you'll be getting > something that looks like char NULL NULL NULL. > > On 11/30/06, Conal Elliott <co...@co...> wrote: > > "I guess your strings get sent as unicode but by the fields function > > interpreted as ascii in which case the second byte is zero and thus you > see > > only 1 character. The string should be converted to utf-8 probably and > > perhaps they forgot this function." > -- > Eric Kow http://www.loria.fr/~kow > PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. > |