Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / DBPro character encoding

Author
Message
left
14
Years of Service
User Offline
Joined: 25th Jul 2011
Location:
Posted: 25th Jul 2011 16:42
Hi

How can I set the character encoding in DBPro?

When I use this code:


The result is: ?Q:W< instead of äößüá
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 25th Jul 2011 17:35
maybe try using a custom font which contains your characters.
I used

and the characters display correctly.

kezzla

Sometimes I like to use words out of contents
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 4th Aug 2011 20:45
In previous versions of dark basic you can call a character set by including it at the end of the set text font command:

set text font "arial",1

where ',1' equals the English character set. A list of character sets is as follows:



Enjoy your day.

Login to post a reply

Server time is: 2026-07-10 15:31:30
Your offset time is: 2026-07-10 15:31:30