2byte Charactor BUG

Working on new editor enhancements?
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

2byte Charactor BUG

Post by oryaaaaa »

Backspacekey, Leftkey and Rightkey

Spec 2byte Charactor
Image

Backspacekey BUG
Image

Leftkey and Rightkey BUG
Image

I am recommending all Japanese to use jaPBe.
I request the improvement.

Thanks
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Ha, i remember there was a problem in JaPBe also, but a Japanese forum member helped GPI to solve this.
Since both editors use scintilla, it should be no problem to fix it.

Here GPI anounced this extra codepage setting
viewtopic.php?t=8732&highlight=japbe+japanese
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

Post by oryaaaaa »

Shopro doesn't report on the bug to PureBasicEditor for Ver4.00.

However, I cannot contact Shopro now.
The number of users in Japan has increased.
Therefore, I thought only that I reported on the bug.
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

I have added support for UTF-8 now (see Preferences) i hope this works for you.
Unicode support can not be added right now, as even though Scintilla would
support it, the IDE does not.
Maybe somewhen in the future.
quidquid Latine dictum sit altum videtur
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

Post by oryaaaaa »

Ver4.0 Beta1
This is not a display problem of UTF-8 but a character string management problem.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

freak, perhaps the 'characters are not always 1 but can also be 2, 3, 4 bytes long' issue?

how many chars do you delete on backspace?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Fred
Administrator
Administrator
Posts: 18224
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

you're right, it's probably an issue like that.
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

It works perfectly here. After turning on UTF8 support and choosing the right font,
i can enter any character i want (using the IME keyboard) and none of the above happens.

Can i have some more info on this please ?
quidquid Latine dictum sit altum videtur
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

Post by oryaaaaa »

UTF-8 was set and it solved it. I want you to write in the manual.

Thank you
Post Reply