Hi Charvista
Great!
First I got Belgié but that was probabaly because I changed the charset a few times.
After changing the value in phpMyAdmin to België it fell into place.
I use:
DatabaseQuery(#Database, "SET NAMES utf8mb4 COLLATE utf8mb4_unicode_520_ci ;")
this would give the most acurate ...
Search found 35 matches
- Thu Jan 15, 2026 9:31 am
- Forum: Bugs - Windows
- Topic: MariaDB /MySQL returns ? instead of ë In PureBasic
- Replies: 10
- Views: 588
- Tue Jan 13, 2026 4:13 pm
- Forum: The PureBasic Form Designer
- Topic: ImageGadget and ButtonImageGadget not working on Linux?
- Replies: 2
- Views: 203
Re: ImageGadget and ButtonImageGadget not working on Linux?
My fault, I have not read the documentation thoroughly.
There's a lot to read and learn. Step by step.
It changed to UsePNGImageDecoder() automaticly.
This is working fine now.
Thanks again mk-soft.
Greetings
Rudi
There's a lot to read and learn. Step by step.
It changed to UsePNGImageDecoder() automaticly.
This is working fine now.
Thanks again mk-soft.
Greetings
Rudi
- Mon Jan 12, 2026 11:59 am
- Forum: Bugs - Windows
- Topic: MariaDB /MySQL returns ? instead of ë In PureBasic
- Replies: 10
- Views: 588
Re: MariaDB /MySQL returns ? instead of ë In PureBasic
Temporaly solved it with:
EscapedValue$ = ReplaceString(RawValue$, "?", "ë")
But this will also change any other character that is not supported. So I could make it more specific like
EscapedValue$ = ReplaceString(RawValue$, "Belgi?", "België")
So this not a real solution yet.
EscapedValue$ = ReplaceString(RawValue$, "?", "ë")
But this will also change any other character that is not supported. So I could make it more specific like
EscapedValue$ = ReplaceString(RawValue$, "Belgi?", "België")
So this not a real solution yet.
- Mon Jan 12, 2026 11:24 am
- Forum: Bugs - Windows
- Topic: MariaDB /MySQL returns ? instead of ë In PureBasic
- Replies: 10
- Views: 588
Re: MariaDB /MySQL returns ? instead of ë In PureBasic
Which columns do you mean? MariaDB or PureBasic. Where did you read it? In phpMyAdmin the columns show the correct value.mk-soft wrote: Sun Jan 11, 2026 4:22 pm I think (as I have read) umlauts are not allowed in the columns.
- Mon Jan 12, 2026 11:14 am
- Forum: The PureBasic Form Designer
- Topic: ImageGadget and ButtonImageGadget not working on Linux?
- Replies: 2
- Views: 203
ImageGadget and ButtonImageGadget not working on Linux?
Hi
I am on Ubuntu 22.04 and Purebasic 6.20
When I run a form designed with the form designer. And it has a image or a button image. The program stops unexpected. I can't add it afterwards or even in a manually designed window. So it's probably me doing it the wrong way.
the code of de form ...
I am on Ubuntu 22.04 and Purebasic 6.20
When I run a form designed with the form designer. And it has a image or a button image. The program stops unexpected. I can't add it afterwards or even in a manually designed window. So it's probably me doing it the wrong way.
the code of de form ...
- Sun Jan 11, 2026 4:11 pm
- Forum: Bugs - Windows
- Topic: MariaDB /MySQL returns ? instead of ë In PureBasic
- Replies: 10
- Views: 588
Re: MariaDB /MySQL returns ? instead of ë In PureBasic
It's via XAMPP 8.2.4-0
Config:
socket =/opt/lampp/var/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
default-character-set=utf8mb4
[mysqld]
user=mysql
port=3306
socket =/opt/lampp/var/mysql/mysql.sock
key_buffer=16M
max_allowed_packet=1M
table_open_cache=64 ...
Config:
socket =/opt/lampp/var/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
default-character-set=utf8mb4
[mysqld]
user=mysql
port=3306
socket =/opt/lampp/var/mysql/mysql.sock
key_buffer=16M
max_allowed_packet=1M
table_open_cache=64 ...
- Sun Jan 11, 2026 11:56 am
- Forum: Bugs - Windows
- Topic: MariaDB /MySQL returns ? instead of ë In PureBasic
- Replies: 10
- Views: 588
Re: MariaDB /MySQL returns ? instead of ë In PureBasic
It was utf8_general_c and it gave Belgi?.
PureBasic requires utf8
Couldn't select utf8 choise for utf8_bin instead. No solution.
PureBasic requires utf8
Couldn't select utf8 choise for utf8_bin instead. No solution.
- Sat Jan 10, 2026 1:23 pm
- Forum: Bugs - Windows
- Topic: MariaDB /MySQL returns ? instead of ë In PureBasic
- Replies: 10
- Views: 588
MariaDB /MySQL returns ? instead of ë In PureBasic
Hi
I have a connection with my local MariaDB database. One of the columns returns "Belg?" instead of "België" in PureBasic.
The collation is "utf8_bin" already changed from "utf_general_ci".
I'm on Linux Ubuntu 22.04
In phpMyAdmin the value is "België".
result of the debugging, the value is ...
I have a connection with my local MariaDB database. One of the columns returns "Belg?" instead of "België" in PureBasic.
The collation is "utf8_bin" already changed from "utf_general_ci".
I'm on Linux Ubuntu 22.04
In phpMyAdmin the value is "België".
result of the debugging, the value is ...
- Wed Jan 07, 2026 11:53 am
- Forum: Coding Questions
- Topic: Can't connect to local MySQL through socket
- Replies: 0
- Views: 193
Can't connect to local MySQL through socket
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'opencart_db');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
According to the documentation of PureBasic this would work:
Hi
I have a ...
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'opencart_db');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
According to the documentation of PureBasic this would work:
Hi
I have a ...
- Sun Jan 04, 2026 6:52 pm
- Forum: Coding Questions
- Topic: How to open and reopen a window from a first window?
- Replies: 34
- Views: 2549
Re: How to open and reopen a window from a first window?
Thanks for clarifying TI-994A
I will dive deeper into modules.
Already in love with PureBasic.
But after a long marriage...
Greetings from Belgium
Rudi
I will dive deeper into modules.
Already in love with PureBasic.
But after a long marriage...
Greetings from Belgium
Rudi
- Sun Jan 04, 2026 5:05 pm
- Forum: Coding Questions
- Topic: How to open and reopen a window from a first window?
- Replies: 34
- Views: 2549
Re: How to open and reopen a window from a first window?
So modules act as events. Module::event()?
I will look if this would make life simpler. In the meantime I have about 8 windows running.
Templates make a difference. So does issues.
I found how to copy the prefs. Would be nice to see a way to backup or transfer them in the IDE.
I think in VB and ...
I will look if this would make life simpler. In the meantime I have about 8 windows running.
Templates make a difference. So does issues.
I found how to copy the prefs. Would be nice to see a way to backup or transfer them in the IDE.
I think in VB and ...
- Sat Jan 03, 2026 10:05 pm
- Forum: Coding Questions
- Topic: How to open and reopen a window from a first window?
- Replies: 34
- Views: 2549
Re: How to open and reopen a window from a first window?
It was taking it over. But the second time it is gone. Not workable. I 'solved' it by manualy coding the menu's in de procedures file. It's getting more clear bit by bit. I'm getting to a system that will be good to build larger applications that is manageable for maintaining. I'm using the template ...
- Fri Jan 02, 2026 1:06 pm
- Forum: Coding Questions
- Topic: How to open and reopen a window from a first window?
- Replies: 34
- Views: 2549
Re: How to open and reopen a window from a first window?
Not much use that you can change this. Every time you switch to code the change is gone. Can this be changed in the behaviour of the formdesigner?Select added Menu Item and change at right side properties
- Constant
- Name
- Fri Jan 02, 2026 9:04 am
- Forum: Coding Questions
- Topic: How to open and reopen a window from a first window?
- Replies: 34
- Views: 2549
Re: How to open and reopen a window from a first window?
If you work with multiple forms, you must assign unique names to all Window, Gadget, Menu constants (variables) in the FormDesigner.
Then there are no conflicts.
(Or you take my EventDesigner) :mrgreen:
I had the enummeration wrong too.
On the main windows were
Enummeration Windows
...
The ...
- Thu Jan 01, 2026 3:28 pm
- Forum: Coding Questions
- Topic: How to open and reopen a window from a first window?
- Replies: 34
- Views: 2549
Re: How to open and reopen a window from a first window?
Hi,
Happy New year.
I got the application working with different forms. The forms created with the form designer have two files now (see code below).
I had to do some changes to get it all working. I have put some comments in the code.
The generated form:
;
; This code is automatically ...
Happy New year.
I got the application working with different forms. The forms created with the form designer have two files now (see code below).
I had to do some changes to get it all working. I have put some comments in the code.
The generated form:
;
; This code is automatically ...