Hello,

We have kannel interfaced to Tomcat 4.0.x. on Windows 2000. We have an smsc group that 
redirects all traffic to a URL set up the following way:
http://server/servlet?sender=%2B%p

Everytime we get an SMS from the GSM modem (Siemens), its sender number looks like 
336xxxxxxx.
(33 is France's country code, the point being that we get neither "00" nor "+" in 
front of the number).

So the SMS is forwarded to a servlet which retrieves the "sender" parameter. But it 
receives it as
X336xxxxxx where X is the "male" sign and our code doesn't recognize it as a plus sign 
either.

We have tried replacing %2B with %20 and we do get a space there so there is some 
weird character encoding going on.

Anyone have any clues as to how to get a plus sign in front of our phone numbers on 
Win2000+Tomcat ?

Thanks.

Regards
Philippe Girolami

Reply via email to