%C returns incorrectly returns UTF16-BE instead of UTF-16BE

Davy Chan <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
When requesting the Character set of an SMS via the '%C' escap
parameter, the SMSBOX will return the string "UTF16-BE" for UCS2 
when it should return "UTF-16BE".

Patch attached.

See ya...

d.c.
urltrans.c.diff (text/plain, 496 B)
Index: urltrans.c
===================================================================
RCS file: /home/cvs/gateway/gw/urltrans.c,v
retrieving revision 1.95
diff -u -r1.95 urltrans.c
--- urltrans.c	28 Sep 2004 14:47:01 -0000	1.95
+++ urltrans.c	14 Dec 2004 06:17:49 -0000
@@ -609,7 +609,7 @@
 			octstr_append(result, octstr_imm("8-BIT"));
 			break;
 		    case DC_UCS2:
-			octstr_append(result, octstr_imm("UTF16-BE"));
+			octstr_append(result, octstr_imm("UTF-16BE"));
 			break;
 		}
 	    }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.