yury / gsm_encoder Goto Github PK
View Code? Open in Web Editor NEWruby GSM 03.38 encoder/decoder
ruby GSM 03.38 encoder/decoder
Hi,
I just tried your gem and like it very much, but I spoted one problem.
When I installed it by
gem install gsm_encoder
Version I got is one without last commit - can_encode?
Hi!
If I do GSMEncoder.encode('$')
it retrieves "\x02"
. Why is that? '$' is included in GSM 03.38.
Thanks,
Maicol
Hello,
I've started using your library which worked fine until I've tried to send ä, ü or ö. These chars are very often used in the german language. They are always getting replaced with some different special chars.
Output:
latest :001 > GSMEncoder.encode("ä")
=> "{"
latest :002 > GSMEncoder.encode("ü")
=> "~"
latest :003 > GSMEncoder.encode("ö")
=> "|"
I've fought it's only a displaying issue in the Ruby console but it isn't. Tested this with 2 different SMS gateway provider, they are always arriving wrongly.
Is there something that I need todo before I can send these chars? I'm 100% sure that these chars are available in the GSM charset. I can send them manually on my phone without any issues to other phones.
Regards
Alexander
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.