Git Product home page Git Product logo

cloudhopper-commons's People

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudhopper-commons's Issues

ch-httpclient-util 1.5.1 jar published with javadocs rather than classes

The 1.5.1 jar published for ch-httpclient-util is unusable as it's got html client rather than compiled classes. I noticed this for 1.5.1 of ch-sxmp as well (that one has a newer, working version)

https://repo1.maven.org/maven2/com/cloudhopper/ch-httpclient-util/1.5.1/

META-INF/
META-INF/MANIFEST.MF
com/
com/cloudhopper/
com/cloudhopper/httpclient/
com/cloudhopper/httpclient/util/
com/cloudhopper/httpclient/util/class-use/
resources/
allclasses-frame.html
allclasses-noframe.html
com/cloudhopper/httpclient/util/class-use/DoNotVerifySSLCertificateTrustManager.html
com/cloudhopper/httpclient/util/class-use/HttpClientFactory.html
com/cloudhopper/httpclient/util/class-use/HttpClientUtil.html
com/cloudhopper/httpclient/util/class-use/PreemptiveBasicAuthHttpRequestInterceptor.html
com/cloudhopper/httpclient/util/class-use/SchemeFactory.html
com/cloudhopper/httpclient/util/class-use/UnexpectedHttpStatusCodeException.html
com/cloudhopper/httpclient/util/class-use/Version.html
com/cloudhopper/httpclient/util/DoNotVerifySSLCertificateTrustManager.html
com/cloudhopper/httpclient/util/HttpClientFactory.html
com/cloudhopper/httpclient/util/HttpClientUtil.html
com/cloudhopper/httpclient/util/package-frame.html
com/cloudhopper/httpclient/util/package-summary.html
com/cloudhopper/httpclient/util/package-tree.html
com/cloudhopper/httpclient/util/package-use.html
com/cloudhopper/httpclient/util/PreemptiveBasicAuthHttpRequestInterceptor.html
com/cloudhopper/httpclient/util/SchemeFactory.html
com/cloudhopper/httpclient/util/UnexpectedHttpStatusCodeException.html
com/cloudhopper/httpclient/util/Version.html
constant-values.html
deprecated-list.html
help-doc.html
index-all.html
index.html
overview-tree.html
package-list
resources/background.gif
resources/tab.gif
resources/titlebar.gif
resources/titlebar_end.gif
serialized-form.html
stylesheet.css

Map of Byte Array to Charset or CharsetName

I'm trying to decode a MO message using CharsetUtil.decode but I don't know the dataCoding in advance. I can't seem to find a mapping between the dataCoding byte to the Charset or CharsetName

      DeliverSm mo = (DeliverSm) pduRequest;
      byte dataCoding = mo.getDataCoding();
      byte[] shortMessage = mo.getShortMessage();
      // in the following line how can I get the CharsetName from dataCoding
      String messageText = CharsetUtil.decode(shortMessage, "UCS-2");

Am I missing something simple here?

HPRoman8 charset support just like GSM7

I am trying to send MT message with HPRoman8 characters. It is not encoded properly as the message lies under GSM family.
Text: £100 €1000 e.mail@address

After CharsetUtil.decode I am seeing "100 e1000 e.mailaddress"

£ and € signs are missing

Endianness Converter

Would it be ok if I submitted a PR which adds the following method to CharsetUtil? I the SMSC that I'm connecting too uses LittleEndian for UCS-2

  static public byte[] getEndianBytes(byte [] sourceBytes, ByteOrder destByteOrder) {
    ByteBuffer sourceByteBuffer = ByteBuffer.wrap(sourceBytes);
    ByteBuffer destByteBuffer = ByteBuffer.allocate(sourceBytes.length);

    destByteBuffer.order(destByteOrder);
    while(sourceByteBuffer.hasRemaining()) {
      destByteBuffer.putShort(sourceByteBuffer.getShort());
    }

    return destByteBuffer.array();
  }

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.