Re: [AD] exunicod and endianess |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> When I did it, it looked like: > > char message_it[] = "\x00B" "\x00e" "\x00n" "\x00v" "\x00e" "\x00n" > "\x00u" "\x00t" "\x00i" "\x00 " "\x00a" "\x00d" "\x00 \x00\x00"; It turns out that this string is not a valid C string and gets totally mangled by the compiler. And the library is clean. <sigh> Sorry for this fiasco. I'll fix the example shortly. -- Eric Botcazou
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |