[OpenSIPS-Devel] [OpenSIPS-Users] OPENSIPS / Unicode (UTF-8) support for proto_smpp

Răzvan Crainea razvan at opensips.org
Thu Aug 22 10:48:26 EDT 2019


Hi, Majid!

UTF-8 is the only one enabled. However, the problems that you experience 
are related to the fact that SIP world uses UTF-8 and UTF_16, whereas in 
the SMPP world, GSM and UCS-2 are used. We are currently not doing any 
translations between UTF-8 and UCS-2, therefore only characters that are 
available in both encodings work - that's what you are experiencing.
I have this on my tasklist, but currently I have other tasks too, will 
try to address this asap.

Best regards,
Răzvan

On 8/22/19 2:42 PM, MAJID ENJOO wrote:
> Hello Bogdan-Andrei,
> 
> How about UTF-8? How can I enable UTF-8?
> 
> Regards,
> 
> Majid
> 
> *From:*Bogdan-Andrei Iancu <bogdan at opensips.org>
> *Sent:* Thursday, August 22, 2019 4:33 AM
> *To:* MAJID ENJOO <m_enjoo at hotmail.com>; 'OpenSIPS users mailling list' 
> <users at lists.opensips.org>; devel at lists.opensips.org
> *Subject:* Re: [OpenSIPS-Users] OPENSIPS / Unicode (UTF-8) support for 
> proto_smpp
> 
> Hi,
> 
> Currently there is no support for UTF-16 in the module.
> 
> Regards,
> 
> Bogdan-Andrei Iancu
> 
> OpenSIPS Founder and Developer
> 
>    https://www.opensips-solutions.com
> 
> OpenSIPS Summit 2019
> 
>    https://www.opensips.org/events/Summit-2019Amsterdam/
> 
> On 8/21/19 7:08 PM, MAJID ENJOO wrote:
> 
>     Hi,
> 
>     Thank you for reply. How we can enable UTF-16 on Opensips Proto SMPP?
> 
>     Regards,
> 
>     Majid
> 
>     *From:*Bogdan-Andrei Iancu <bogdan at opensips.org>
>     <mailto:bogdan at opensips.org>
>     *Sent:* Wednesday, August 21, 2019 12:02 PM
>     *To:* OpenSIPS users mailling list <users at lists.opensips.org>
>     <mailto:users at lists.opensips.org>; MAJID ENJOO <m_enjoo at hotmail.com>
>     <mailto:m_enjoo at hotmail.com>; devel at lists.opensips.org
>     <mailto:devel at lists.opensips.org>
>     *Subject:* Re: [OpenSIPS-Users] OPENSIPS / Unicode (UTF-8) support
>     for proto_smpp
> 
>     Hi,
> 
>     I think what you need is UTF-16, not UTF-8.
> 
>     Regards,
> 
> 
>     Bogdan-Andrei Iancu
> 
>       
> 
>     OpenSIPS Founder and Developer
> 
>        https://www.opensips-solutions.com
> 
>     OpenSIPS Summit 2019
> 
>        https://www.opensips.org/events/Summit-2019Amsterdam/
> 
>     On 08/20/2019 11:14 AM, MAJID ENJOO wrote:
> 
>         Hello,
> 
>         We installed Opensips 3.0-3 on Fedora 29 and configure it as
>         SMPP gateway and it working well only in Latin characters and it
>         cannot support UTF-8. I would appreciate if you can help us to
>         add/enable UTF-8 on Opensips 3.0-3 Proto SMPP to able handle
>         multi language support and special characters.
> 
>         On proto_smpp send/receive in English characters and numbers
>         working well. But when we try to send/receive in deferent
>         language characters does not works. Please see following test
>         results. We need to activate/enable UTF-8 on proto_smpp to
>         send/receive multi language characters.
> 
>         Inbound
> 
>          >> Sent in French>> Café >>Received>> Caf
> 
>          >> Sent in Persian>> سلام >>Received>> 3D’E
> 
>          >> Sent in Russian>> Привет >>Received>> @825B
> 
>          >> Sent non alphabet character>> $ >>Received>> 2
> 
>          >> Sent non alphabet character>> @ >>Received>> 2
> 
>         outbound
> 
>          >>Sent in French>> Café >>Received>> Caf
> 
>          >>Sent in Persian>> سلام >>Received nothing>> “nothing/empty”
> 
>          >>Sent in Russian>> Привет >>Received nothing>> “nothing/empty”
> 
>          >>Sent non alphabet character>> $ >>Received>> ¤
> 
>          >> Sent non alphabet character >> @>>Received>> ¡
> 
>         Thanks,
> 
>         Majid
> 
> 
> 
> 
> 
>         _______________________________________________
> 
>         Users mailing list
> 
>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
> 
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com



More information about the Devel mailing list