Code Monkey home page Code Monkey logo

smstools's People

Contributors

bliof avatar bryanrite avatar ikataitsev avatar kingsley-wang avatar mitio avatar skliask avatar sstoyanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smstools's Issues

enable opting out of ascii encoding

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 :)

Doesn't detect non-breaking spaces

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.

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.