Strings now display "," in watch window?
Watch window displays used to work for our strings. I'm not sure what's different. I'll see if I can track it down on my side.
Instead of the string "Login" for example I get ",".
Could it be our wide-character use?
Thanks Max,
Erik
<img src="style_emoticons/<#EMO_DIR#>/asrifle.gif" style="vertical-align:middle" emoid="::asrifle::" border="0" alt="asrifle.gif" />
Instead of the string "Login" for example I get ",".
Could it be our wide-character use?
Thanks Max,
Erik
<img src="style_emoticons/<#EMO_DIR#>/asrifle.gif" style="vertical-align:middle" emoid="::asrifle::" border="0" alt="asrifle.gif" />
Comments
Yes. All of our scripting is done this way. It's necessary for foreign languages like Chinese and Korean.
Thanks for looking into it!
I have a few errors in the output widow about missing symbols not matching dlls for msvcp71 and msvcr71. If fixing this at the moment.
I'll verify the older build properly displays the strings. I may have a previous build still around here somewhere. I remember it worked, but maybe something changed on our side.
Erik
Hm... I upgraded to the latest, but it's still happening.
Any ideas?
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->lua_pushlstring(L"Test", 8);<!--c2--></div><!--ec2-->
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->lua_pushlstring(L"Test", 8);<!--c2--></div><!--ec2--><!--QuoteEnd--></div><!--QuoteEEnd-->
Looks like we use:
typedef wchar_t lua_WChar
lua_pushwstring( lua_State *, const lua_WChar* )
typedef wchar_t lua_WChar
lua_pushwstring( lua_State *, const lua_WChar* )<!--QuoteEnd--></div><!--QuoteEEnd-->
Our game is compiler setting :
Character Set: Use Multi-Byte Character Set
Erik