In Java you can do like this:
String msg = "Hello,\nI am working.";
String msgForSend = URLEncoder.encode(msg, "UTF-8");
See documentation for URLEncoder:
http://java.sun.com/javase/6/docs/api/java/net/URLEncoder.html
- Tuomas
Logic 1902 wrote:
can you please elaborate a little with an example. I am having much difficulty.
thanks
________________________________
Date: Thu, 3 Apr 2008 16:54:15 -0300
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: Response from Kannel
urlencode the text, it will do the trick.
On Thu, Apr 3, 2008 at 2:09 PM, Logic 1902 <[EMAIL PROTECTED]> wrote:
Dear all, please tell me how can I add a new line in strings of responses sent
by kannel.
forexamle, I want this message;
Hello, I am working
to look like this,
Hello,
I am working
I am using Java and as far as java language is concerned; new line character is
'\n' - but it does not work while i try with responses in Kannel.
Please suggest.
regards,
________________________________
Connect to the next generation of MSN Messenger Get it now!
________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces.
It's easy! Try it!
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces.
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us