[BRLTTY] [BRLTTY ] brailApi_WriteText And Character Encoding when using Visual Studio C++ in Windows

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Aug 20 21:07:50 EDT 2013


Siju Samuel, le Tue 20 Aug 2013 14:32:36 -0500, a écrit :
> I am calling brailApi_writetext( 0, "sometext" );    from a Visual Studio C++
> project in Windows.   I am using the XW-driver (simulator). It is showing just
> question mark in ?????? in the simulator display for the above call.   But in
> mingw and also in Linux it is fine.

Could you try to #undef UNICODE before including brlapi.h, or to use
brlapi_writeTextWin(cursor, str, 0)?

Samuel


More information about the BRLTTY mailing list