Does not work unicode.
Does not work unicode.
Unfortunately, the default editor PureBasic cannot correctly process many entered symbols of unicode.
For example: "ĈĉĜĝĤĥĴĵŜŝŬŭ"
These letters are used in Esperanto.
And also many other symbols: "≈№¢≡≤≥≠℃œæƒ¿ˆ¹²³⁴⁵⁶⁷⁸⁹⁰ŒÆ"
All these and many other characters can not be entered in the editor.
Although the existing files in UTF-8 editor can display correctly.
The problem arises precisely from the introduction of characters!
For example: "ĈĉĜĝĤĥĴĵŜŝŬŭ"
These letters are used in Esperanto.
And also many other symbols: "≈№¢≡≤≥≠℃œæƒ¿ˆ¹²³⁴⁵⁶⁷⁸⁹⁰ŒÆ"
All these and many other characters can not be entered in the editor.
Although the existing files in UTF-8 editor can display correctly.
The problem arises precisely from the introduction of characters!
Last edited by Hemulo on Thu Nov 26, 2009 12:42 pm, edited 1 time in total.
Re: Does not work unicode.
Set the sourceformat to UTF-8 and use a font that support esperanto
Greetings
Thomas
Greetings
Thomas
Re: Does not work unicode.
UTF-8 mode and mode support for unicode were included.ts-soft wrote:Set the sourceformat to UTF-8 and use a font that support esperanto
It's not the fonts, namely in the processing of input characters.
In addition, the characters "ĈĉĜĝĤĥĴĵŜŝŬŭ" are present in all the standard fonts for Unicode.
In the same default editor the characters beautifully displayed using the same font, in the case when they were loaded from the finished file created in another editor.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Does not work unicode.
when I change the IDE font to "Courier New", I can see the accents of the string above in the source.
standard font is "Courier", why is this?
source encoding UTF-8 and "create unicode executable" enabled.
however they are not displayed in the debugger window, is there some additional setting there?
standard font is "Courier", why is this?
source encoding UTF-8 and "create unicode executable" enabled.
however they are not displayed in the debugger window, is there some additional setting there?
oh... and have a nice day.
Re: Does not work unicode.
Kaeru Gaman wrote:when I change the IDE font to "Courier New", I can see the accents of the string above in the source.
standard font is "Courier", why is this?
source encoding UTF-8 and "create unicode executable" enabled.
however they are not displayed in the debugger window, is there some additional setting there?

There is no font capable to change a situation.
The problem is writing letters from the keyboard!
Last edited by Hemulo on Thu Nov 26, 2009 2:47 pm, edited 1 time in total.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Does not work unicode.
and when you type the same text into NotePad it works?
sorry I can't test it myself because on German (and I think also on English) Keyboard-Layout
I have no way to directly type a Char with circonflex or brevis, I got to fetch it from the CharMap anyways.
sorry I can't test it myself because on German (and I think also on English) Keyboard-Layout
I have no way to directly type a Char with circonflex or brevis, I got to fetch it from the CharMap anyways.
oh... and have a nice day.
Re: Does not work unicode.
In Notepad, everything works fine.Kaeru Gaman wrote:and when you type the same text into NotePad it works?
You have got to introduce the characters in the editor?Kaeru Gaman wrote: sorry I can't test it myself because on German (and I think also on English) Keyboard-Layout
I have to way to directly type a Char with circonflex or brevis, I got to fetch it from the CharMap anyways.
I use the extended keyboard.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Does not work unicode.
since I normally don't need those chars, I did not experiment with any "extended keyboard" functionality yet.
when I need uncommon chars, I import them from charmap.exe
...
maybe this problem really is a lack of functionality of the IDE, I don't know.
please wait for freak to comment on this topic.
when I need uncommon chars, I import them from charmap.exe
...
maybe this problem really is a lack of functionality of the IDE, I don't know.
please wait for freak to comment on this topic.
oh... and have a nice day.
Re: Does not work unicode.
At use charmap.exe at you this problem does not arise?Kaeru Gaman wrote:since I normally don't need those chars, I did not experiment with any "extended keyboard" functionality yet.
when I need uncommon chars, I import them from charmap.exe
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Does not work unicode.
it's copy/paste, same thing as if I copy "ĈĉĜĝĤĥĴĵŜŝŬŭ" from your posting in this thread.
Charmap is this tool:

from your Windows Tools.
Charmap is this tool:

from your Windows Tools.
oh... and have a nice day.
Re: Does not work unicode.
You are right. I have tested this tool, it really works. But often to use it, it is very inconvenient.Kaeru Gaman wrote:it's copy/paste, same thing as if I copy "ĈĉĜĝĤĥĴĵŜŝŬŭ" from your posting in this thread.
I will prefer even all to write in other editor and to insert already ready text into the program.
I simply wish to pay attention that the standard editor not correctly understands pressing of keys and input of symbols.
If you have a German keyboard layout as you enter symbols "ÜüßÖö"?
Whether the editor supports input of these symbols?
I cannot check up, since I do not have German apportion...
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Does not work unicode.
editor supports all standard key of german standard layout, so I can directly enter Ä a Ö a Ü a ß § and @ € @ µ ² ³ {[]} ~| \
for the second half of them we have a function alternate graphics, it's the right ALT-Key and has the additional function of a third char on a key.
this is standard german layout, no extended layout, no special drivers.
... I dimly recall some problems with kyrillic chars quite a time ago, don't know what was done with that.
as I said before, normally I would think the IDE should accept all keytypes NotePad accepts with the same result.
please wait for freak to answer this question concretely, I cannot help you further.
for the second half of them we have a function alternate graphics, it's the right ALT-Key and has the additional function of a third char on a key.
this is standard german layout, no extended layout, no special drivers.
... I dimly recall some problems with kyrillic chars quite a time ago, don't know what was done with that.
as I said before, normally I would think the IDE should accept all keytypes NotePad accepts with the same result.
please wait for freak to answer this question concretely, I cannot help you further.
oh... and have a nice day.
Re: Does not work unicode.
Thanks for the information.