From: Victor B. <so...@te...> - 2013-12-26 16:39:39
|
Hello, trying to post this lua error message to wxStyledTextCtrl: loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected symbol near '┬' with AppendText I dont get any output. The problem seems to be the character with ASC code 194 my test is something like errst = {108,111,97,100,102,105,108,101,32,101,114,114,111,114,58,67,58,92,76,85,65,92,108,117,97, 50,115,99,92,115,97,109,112,108,101,115,92,99,104,97,114,97,99,116,101,114,101,114,114,111,114,46, 108,117,97,58,52,58,32,117,110,101,120,112,101,99,116,101,100,32,115,121,109,98,111,108,32,110,101,97,114,32,39,194,39} SendtoLog(string.char(unpack(errst))) May be it is related to character_set or encoding or whatever else Any help woould be appreciated victor |