Daily patch: gateway

kannel at kannel.org kannel at kannel.org
Wed Mar 10 06:30:21 CET 2010


File gateway/ChangeLog changed from revision 1.3129 to 1.3130
File gateway/doc/userguide/userguide.xml changed from revision 1.358 to 1.359
File gateway/gw/smsbox.c changed from revision 1.284 to 1.285



Index: gateway/ChangeLog
diff -u gateway/ChangeLog:1.3129 gateway/ChangeLog:1.3130
--- gateway/ChangeLog:1.3129	Sun Feb 28 22:43:31 2010
+++ gateway/ChangeLog	Tue Mar  9 14:30:35 2010
@@ -1,3 +1,8 @@
+2010-03-09  Stipe Tolj  <stolj at kannel.org>
+    * doc/userguide/userguide.xml: we use UTF-8 as default encoding for the
+      payload and not WINDOWS-1252. This caused a lot of mis-understanding.
+    * gw/smsbox.c: fix also the comment. NLC.
+
 2010-02-28 Alexander Malysh <amalysh at kannel.org>
     * gw/bearerbox.c: don't ignore errors on startup. This fixes #536.
 
Index: gateway/doc/userguide/userguide.xml
diff -u gateway/doc/userguide/userguide.xml:1.358 gateway/doc/userguide/userguide.xml:1.359
--- gateway/doc/userguide/userguide.xml:1.358	Sun Dec  6 17:24:14 2009
+++ gateway/doc/userguide/userguide.xml	Tue Mar  9 14:30:36 2010
@@ -7507,7 +7507,7 @@
    <entry><literal>string</literal></entry>
    <entry valign="bottom">
         Charset of text message. Used to convert to a format suitable for
-	7 bits or to UCS-2. Defaults to WINDOWS-1252 if coding is 7bits and
+	7 bits or to UCS-2. Defaults to UTF-8 if coding is 7 bits and
 	UTF-16BE if coding is UCS-2.
    </entry></row>
 
Index: gateway/gw/smsbox.c
diff -u gateway/gw/smsbox.c:1.284 gateway/gw/smsbox.c:1.285
--- gateway/gw/smsbox.c:1.284	Sun Dec  6 17:24:14 2009
+++ gateway/gw/smsbox.c	Tue Mar  9 14:30:35 2010
@@ -3718,7 +3718,7 @@
 
 	if (coding == DC_7BIT) {
 	    /*
-         * For 7 bit, convert to WINDOWS-1252
+         * For 7 bit, convert to UTF-8
 	     */
         if (charset_convert(body, octstr_get_cstr(charset), "UTF-8") < 0) {
 		resultcode = -1;



More information about the devel-reports mailing list