2015-08-07 22:42 GMT+03:00 spameden <spame...@gmail.com
<mailto:spame...@gmail.com>>:

    2015-08-07 22:41 GMT+03:00 spameden <spame...@gmail.com
    <mailto:spame...@gmail.com>>:

        2015-08-07 21:06 GMT+03:00 Sergey Yudin <ser...@centrcombank.com
        <mailto:ser...@centrcombank.com>>:

            Can you give some tips about using "charset" field ?
            Provider wants UCS-2BE encoding and database in CP1251 encoding

        for this you need to use coding=2 and charset='utf-8' and also
        msgdata=urlencode(utf-8 encoded text) this way you'll get on the
        handset correct text.

        make sure to use latest kannel 1.4.4 (you can build it as well
        from SVN, SVN is production ready).


    About cp1251 i have no idea, since I'm always using UTF-8. But you
    can try replacing UTF-8 with CP1251 and encoding text in CP1251. Not
    sure if it'd work.


2 more questions about sqlbox fields:

* What fields of SMS_SENT dlr records indicates, that Delivery is OK ? Or should I parse msgdata field for provider reply ?

* How to interpret field "ts" (field-timestamp) in DLR table ? Is it unixtime in hex ?

--
Regards..

Reply via email to