Page 1 of 1

Garbage strings are displayed with MessageRequester()

Posted: Mon Mar 29, 2021 7:02 pm
by Mistrel

Code: Select all

MessageRequester("Title","Message")
I've provided no special options for compiling:

Code: Select all

pbcompiler a.pb -e a.out
This this what is displayed:

Image

I am using PureBasic 5.73 LTS (Linux - x64) on Debian 9.13 64-bit.

Why are are strings in my message box all garbled?

Re: Garbage strings are displayed with MessageRequester()

Posted: Mon Mar 29, 2021 7:05 pm
by IdeasVacuum
Are they also garbled with the debugger?

Re: Garbage strings are displayed with MessageRequester()

Posted: Mon Mar 29, 2021 7:05 pm
by Keya
guessing unicode vs ascii strings

Re: Garbage strings are displayed with MessageRequester()

Posted: Mon Mar 29, 2021 8:34 pm
by Mistrel
IdeasVacuum wrote:Are they also garbled with the debugger?
They are not garbled when I use "debug" and view the output from the terminal.
Keya wrote:guessing unicode vs ascii strings
I'm using all internal PureBasic features here so I would expect the strings to be the correct type.

The problem seems to have solved itself. I can't replicate it. This is very strange.