Menu

#10 Strange error in Gsm7BitCharset

closed
nobody
None
5
2012-10-26
2006-03-27
Anonymous
No

Gsm7BitCharset does not encode/decode all characters
correctly. This is caused by the mapping table containing
several lines where the java character side contains
more than one character.

For example, the pound sign line looks like this:
{ "£", new Byte((byte) 0x01) },
but in fact it should look like this:
{ "£", new Byte((byte) 0x01) },

I have not been able to imagine what the reason behind
this might be.

mats(dot)johnson(at)polystar(dot)se

Discussion

  • Nobody/Anonymous

    Logged In: NO

    set the text-file-encoding to utf-8

     
  • Nobody/Anonymous

    Logged In: NO

    set teh text file encoding to utf-8
    you probably have to reedit the EURO-Sign

     
  • chenkel

    chenkel - 2006-07-20

    Logged In: YES
    user_id=1559020

    set the text-file-encoding of the Gsm7BitCharset.java to UTF-8
    After this, you probably have to debug the EURO-Sign

     
  • Nobody/Anonymous

    Logged In: NO

    when I imported the source into eclipse, the Gsm7BitCharset
    class had an error. It says that "it must inherit the
    inherant abstact method Comparible.compareTo
    (Object)"...does anyone know how to fix this? What code do
    I put in the method if I add "unimplemented method"...???

    p.s. what version of Logica should I use? v3.3 or 3.4 or
    SMPP 5.0? SMPP 5.0 is not incorporated in Logica at this
    point.

     

Log in to post a comment.