Unicode support broken on CTB

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
neutrox
Posts: 194
Joined: 05 Mar 2012 15:23

Unicode support broken on CTB

Post by neutrox »

åůẘẙčУ̊ůæ
These characters if present on scripts are preventing them to work on CTB. Symptom: The code after them is not being saved.

Might worth check other areas too...?

admin
Site Admin
Posts: 67330
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Unicode support broken on CTB

Post by admin »

No problem with it here.

neutrox
Posts: 194
Joined: 05 Mar 2012 15:23

Re: Unicode support broken on CTB

Post by neutrox »

Did you saved config then restarted the app...?

Unless you do it, CTB will work as expected.

admin
Site Admin
Posts: 67330
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Unicode support broken on CTB

Post by admin »

Yes, I did.

neutrox
Posts: 194
Joined: 05 Mar 2012 15:23

Re: Unicode support broken on CTB

Post by neutrox »

Strange, because if I paste this as a script under CTB LMB:

Code: Select all

//xxxx: ¥xxðx_xxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_

//xxxx: xxxxxx xxx xxx xxxxx (x xx x) xxxx xxxxxxx xxxxxxxx xxxx xxxxxxxx
//xxxx: xxxxxxx, xx'x xxx xxxxxxxxx xxx xxxx xxxx xxxx xxxxxxxxx xx xxx xxxx xx xxxx'x xxxxx xxxxxxxx...
//xxxx: xxxxxx xxx xxxx xxxxxxxxxx, xx xx xxxx xxx xxxxxxxx xxxxxxxxxxx - xxxxx xx xxx... (xx xx xxxx) ?
//xxxx: xxxx xxxxxx (xxxxxxxxx xx xxx xxx) - xx xxxxxx x
//x<>x xx x==x xxxxxxxxx xxxx    $xxxxxx = xxxxxx($xxx, " $xx ", , x); x xxxxx
//xx xxx xxxx xx xx xxxxx "xxx", "xxx" xxx "xxx" xxxxxxx xxxxxxxxxx - xxxxxxxx xxxxxxx...

//xxxx: (xxxxx-xxxx xxxxxx) xxxxxx xxxxxxxxxxx xxxxx.
//xxxx: xxxxxxxxxxxx xx xxxxx xxxxxx xx xxx xxx xx xxxxxxxxxx xxxx xx xxx xx xxxxxxxxxxxx xxxxx

//xxxx: xxxx xxxxxxx xxxxxxxxx'xx xxxxx
//xxxx: xxxxx: xxxxx xxxxx, xxxxx xxxxxx xxxxx

//xxxx: xxxxxxxx xxxxxx...
//xx 	xx 	xx 	xx xУx
//xxxxxУxx
  echo 'hello!';
//Åå   Ůů   W̊ẘ   Y̊ẙ čУ̊ů
  echo 'hi again!';
after saving and restarting it, the LMB ('on click') holds the first portion and the RMB ('on right click') holds the last portion of the code!

admin
Site Admin
Posts: 67330
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Unicode support broken on CTB

Post by admin »

Maybe the forum software does not transport the characters correctly. Can you isolate the evil character (I assume it is only one of them) and tell me its unicode ordinal number?

Or simply send me your INI file, or the part of yor INI file where this code is located.

Post Reply