Garbage strings are displayed with MessageRequester()

Linux specific forum
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Garbage strings are displayed with MessageRequester()

Post 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?
IdeasVacuum
Always Here
Always Here
Posts: 6424
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Garbage strings are displayed with MessageRequester()

Post by IdeasVacuum »

Are they also garbled with the debugger?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: Garbage strings are displayed with MessageRequester()

Post by Keya »

guessing unicode vs ascii strings
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Garbage strings are displayed with MessageRequester()

Post 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.
Post Reply