On Thu, 15 Mar 2007 15:46:51 +0100 Stipe Tolj <[EMAIL PROTECTED]> wrote: > Denis V. Gudtsov wrote: > >> Hello, All! >> >> How to send message thought smpp when source string has utf-8 encoding? >> kannel version - current from cvs. >> >> group = sms-service >> >> keyword = default >> >> allowed-receiver-prefix=xxx >> get-url = "http://x/xml2.xml" >> >> file xml2.xml: >> >> <?xml version="1.0"?> >> <message> >> <submit> >> <ud>text utf-8</ud> >> <dcs> >> <coding>2</coding> >> </dcs> >> </submit> >> </message> >> > > please explain a bit more... this means we get an MO with ucs-2 (utf-8) >content, that is passed to a HTTP server via the sms-service? > > I don't understand your > > get-url = "http://x/xml2.xml" > > syntax??? get-url is the URL that is called with HTTP GET method, so why is >the xml file referenced here?
This is simple xml structure, which aim is to form fixed message. I tried do it trought post-xml cgi script, which returns xml code as above, but the result was the same. What i'm doing wrong? How to force kannel set 'data coding'=ucs2 instead of 7bit charset? --