Page 1 of 1

Problem with Greek encoding in Linux

Posted: Fri Feb 28, 2014 1:37 pm
by noisyjohn
Problem with Greek encoding (and probably with other Eastern Europe languages)
Linux : Xubuntu 13 , Installed languages English, Greek. Everything works OK, even in a terminal window. I assume that installation is OK

Greek characters both in IDE and in a compiled program do not work at all

in Purebasic:

file-> preferences : you can only select a font
file-> file format --> encoding plain text : no luck
file-> file format --> encoding utf8. Greek works OK inside code window but not in the form design. Example caption of button code [..some greek] is OK. But in form design Button_0 Caption is [????]
Also when I doing back an forth from code to design, Greek letters disappear in code view too

In Compiler --> compiler options [create Unicode executable] has no effect
In file-> preferences Compiler defaults select source text encoding [Plain text | UTF-8] has no effect. Compile/Run --> program has no greek letters
That's all I have found...

any suggetions? :|

Re: Problem with Greek encoding in Linux

Posted: Fri Feb 28, 2014 2:15 pm
by IdeasVacuum
Well, certainly it's important that all files are saved as UTF-8 and that you use a unicode font that supports Greek.

It could be that the PB Form Designer does not support unicode, I don't know. That question requires a post in the Form Designer forum thread.

Re: Problem with Greek encoding in Linux

Posted: Fri Feb 28, 2014 3:06 pm
by Fred
The IDE is ascii only, so the form designer as well. It should be sorted for 5.30, as it will be brings an unicode IDE.