Page 1 of 1

Unicode support broken on CTB

Posted: 06 May 2012 23:44
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...?

Re: Unicode support broken on CTB

Posted: 07 May 2012 09:42
by admin
No problem with it here.

Re: Unicode support broken on CTB

Posted: 07 May 2012 18:27
by neutrox
Did you saved config then restarted the app...?

Unless you do it, CTB will work as expected.

Re: Unicode support broken on CTB

Posted: 07 May 2012 20:49
by admin
Yes, I did.

Re: Unicode support broken on CTB

Posted: 07 May 2012 21:21
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!

Re: Unicode support broken on CTB

Posted: 08 May 2012 09:23
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.