Giter Club home page Giter Club logo

Comments (5)

kneodev avatar kneodev commented on August 24, 2024

Data is URL encoded, you will need to decode first. See examples

On Friday, 04 November 2016, thesanthosh [email protected] wrote:

Hi neo,

iam testing the only http options.

where when i receive unicode messages the messages are coming in some
encoded format which we are not able to decode.

Unicode Billing cant be possible without this data coming in.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#24, or mute the thread
https://github.com/notifications/unsubscribe-auth/ATMU2IE7MU4f-eDJqEAmr_v15ebZy8ODks5q64M4gaJpZM4Kp5M0
.

from ksmppd.

 avatar commented on August 24, 2024

Hi neo,
actual message submitted in smpp : ടെസ്റ്റ് സംസ്‌

after url decode : �F8M1M1M 8�8M

This the problem.

from ksmppd.

kneodev avatar kneodev commented on August 24, 2024

Please provide the raw HTTP headers so I can see (the headers not decoded)

eg %20%2B etc

from ksmppd.

 avatar commented on August 24, 2024

%0D%1F%0DF%0D8%0DM%0D1%0DM%0D1%0DM%00+%0D8%0D%02%0D8%0DM+%0C

But in mobile iam receiving message properly.

only while passing to http its coming like this.

from ksmppd.

kneodev avatar kneodev commented on August 24, 2024

I can decode this fine?

<?php
$raw = "%0D%1F%0DF%0D8%0DM%0D1%0DM%0D1%0DM%00+%0D8%0D%02%0D8%0DM+%0C";
$data = iconv("UTF-16BE", "UTF-8", urldecode($raw));

print($data);
print("\n");

Output

php decode.php
ടെസ്റ്റ് സംസ്‌

from ksmppd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.