Hi,
I had a problem recently while sending SMS messeages containing unicode characters within the widget.
Actually, widget will not send the message but open the message windows with some pre-populated message body in it to allow user add recipients and modify ody before sending.
Here is the existing code snipplet :
var url = "sms:?body=" + escape(I18N["messageBody"] + BASE_URL + event.url);
util.openUrl(url);
it works fine if the message body contains all non-unicode characters, but fails to open the message window with an error message if there are some non-ascii characters in it.
I've tested encoding the message in several ways, including html and url encodings, but none of hem worked.
I think this is an encoding problem, can you help me to find the correct encoding scheme?
(btw, I checked this article :
http://wiki.forum.nokia.com/index.ph...essages_in_WRT
it's not what I'm trying to do, so it won't help much
and I also found this, but it also did not help much:
http://www.forum.nokia.com/forum/sho...d.php?t=142831
)
regards,
--
kayhan

Reply With Quote

