WINEDEBUG=+relay: why unicode arguments printed in form L"\0412\044b" and not L"\x412\x44b"? 044b sure not octal

Dmitry Timoshkov dmitry at codeweavers.com
Wed Jan 20 03:31:33 CST 2010


Илья Басин <basinilya at gmail.com> wrote:

> ///////////////////////////
> #include <windows.h>
> 
> int main() 
> {
>         MessageBoxExW(NULL, 
>                 L"\x412\x44b \x434\x435\x439\x441\x442\x432\x438\x442\x435\x43b\x44c\x43d\x43e \x445\x43e\x442\x438\x442\x435 \x443\x434\x430\x43b\x438\x442\x44c \"\x43f\x440\x438\x43f\x430\x440\x43a\x43e\x432\x430\x43d\x43d\x44b\x435\" \x43f\x438\x441\x44c\x43c\x430?\r\r\x410\x442\x440\x438\x431\x443\x442 \x41f\x430\x440",
>                 L"The Bat! Voyager",
>                 0x00012133,
>                 0x00000019);
> }

> why unicode arguments printed in form L"\0412\044b" and not L"\x412\x44b"? 044b sure not octal

Because WINEDEBUG output is not supposed to be copied into the .c source.

P.S.
'From:' field with not ascii characters in an e-mail sent to an international
mailing list looks at least funny.

-- 
Dmitry.



More information about the wine-devel mailing list