Decode at the HTTP interface from UTF-8 to your encoding
example php:
$sms1251=preg_match("/UTF/i",$GLOBALS["_REQUEST"]["charset"]) ?
pg_escape_string(iconv($GLOBALS["_REQUEST"]["charset"],
"Windows-1251",$GLOBALS["_REQUEST"]["message"])) :
pg_escape_string($GLOBALS["_REQUEST"]["message"]);
patrick meye wrote:
> Hi all,
> I successfully setting up kannel like sms gateway and it run
> perfectly.So i created a service that send sms to TV via another
> application that format is UTF-8.Service run ok but i have an encoding
> and format problem,cause some special charactèr are mal formated (i.e
> ex:é,à,è,ç,...etc).Is some one can help me,what can i do what setting add???
> Adding is my kannel.conf please help me. Sorry for my english i'm just
> learning english.
>
> Best regard!
>
> ------------------------------------------------------------------------
> Découvrez toutes les possibilités de communication avec vos proches
> <http://www.microsoft.com/windows/windowslive/default.aspx>