Page 1 of 1

[PB 5.30b2] PB Editor destroys UTF8 strings on newline

Posted: Wed Jun 04, 2014 3:06 pm
by Frontier
Hello,

Using PB 5.30b2 on Arch Linux x64 (both PureBasic versions, x86 & x64) the following happens: the editor has a UTF8 encoding scheme by default and I am using Unicode TrueType fonts.
On the PB editor, I can type in a line a string in Greek but when I move to the next line (i.e I press RETURN), the editor corrupts the string (i.e Greek characters appear as ??????????).
It looks like that some kind of tokenizing/processing is happening after every typed line that corrupts Greek UTF8 characters.

To demonstrate it, please look at the following video on my YouTube page here.
What I am typing is

Code: Select all

MessageRequester("Διάλογος","Ελληνικά σε διάλογο PureBasic")
(it translates to "Dialog","Greek in PureBasic dialog").
Notice how the editor responds after pressing RETURN. The encoding is restored if I select UNDO meaning that it somehow changes, besides the newline character.

Re: [PB 5.30b2] PB Editor destroys UTF8 strings on newline

Posted: Mon Sep 14, 2015 9:34 am
by Fred
Seems to work here, can anybody confirm ?