Page 1 of 1

% character

Posted: 17 Jul 2006, 08:44
by rik.schennink
when i send a sentence with a % as a str message to the server the server cuts the sentence at the % position.

50% => 50
50 lines of code is 50% of 100 lines of code => 50 lines of code is 50

the following is sent to the server [Sending]: %xt%eJockeyBar%chat%2%false%50%%

I understand what is going wrong, it uses the % sign as a seperator. Is there a easy way around this, or should i replace any % character with something else before i sent it to the server and back? Can i define the seperator somewhere?

Posted: 17 Jul 2006, 13:33
by Lapo
At the moment the separator is fixed to the "%" character.
You should use use an alternate character or entity descriptor (like in HTML / XML). We'll probably allow customizable separator in the next versions.

:)

Posted: 18 Jul 2006, 05:48
by rik.schennink
okay thx! looking forward to next version. :)