livebg / smstools Goto Github PK
View Code? Open in Web Editor NEWA set of Ruby and JavaScript classes to aid in SMS message processing
License: MIT License
A set of Ruby and JavaScript classes to aid in SMS message processing
License: MIT License
I can't find anywhere on the internet that suggests carriers support ascii encoding. It looks like it was added to this repo as a restricted form of the GSM-7 encoding, however with the ascii encoding we get slightly different behaviour. For example, in ascii, unlike GSM-7, we don't escape characters like [
and ]
meaning we can end up with shorter messages.
I'm not sure what the original intention was behind adding ascii support. If it was to just define a restricted set of GSM-7 characters before switching to UCS-2, then I think we should still treat characters like [
as requiring an escape character regardless of whether we're in ascii or GSM-7 encoding. Otherwise I think we should allow opting out of ascii encoding. Happy to do the PR myself :)
I was using this to detect if twilio would break up the messages I was sending. However, this gem doesn't detect non-breaking spaces. It still identifies the message as gsm even if it has them.
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.