projects
/
ussd-widget
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
237c279
)
added GNU header
author
pycage
<martin.grimme@gmail.com>
Wed, 6 Jan 2010 21:41:47 +0000
(21:41 +0000)
committer
pycage
<martin.grimme@gmail.com>
Wed, 6 Jan 2010 21:41:47 +0000
(21:41 +0000)
git-svn-id: file:///svnroot/ussd-widget/trunk@9
d197f4d6
-dc93-42ad-8354-
0da1f58e353f
ussd-common/src/usr/lib/python2.5/gsmdecode.py
patch
|
blob
|
history
diff --git
a/ussd-common/src/usr/lib/python2.5/gsmdecode.py
b/ussd-common/src/usr/lib/python2.5/gsmdecode.py
index
924c24a
..
20f0b35
100644
(file)
--- a/
ussd-common/src/usr/lib/python2.5/gsmdecode.py
+++ b/
ussd-common/src/usr/lib/python2.5/gsmdecode.py
@@
-1,3
+1,12
@@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published
+## by the Free Software Foundation; version 2 and higer.
+##
+## Martin Grimme (martin.grimme # gmail.com) 2010
+
+
LANG_DE = 0x0
LANG_EN = 0x1
LANG_IT = 0x2
@@
-231,6
+240,7
@@
def _decode_general_data_coding(s, h, l):
elif (alphabet == 0x2):
# USC2 (16 bit, BE)
return _decode_usc2(s)
+
elif (alphabet == 0x3):
# reserved
return s