[asterisk-commits] oej: trunk r116239 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed May 14 09:03:42 CDT 2008
Author: oej
Date: Wed May 14 09:03:42 2008
New Revision: 116239
URL: http://svn.digium.com/view/asterisk?view=rev&rev=116239
Log:
Properly declare charset for text messages.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=116239&r1=116238&r2=116239
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed May 14 09:03:42 2008
@@ -8002,7 +8002,7 @@
static int add_text(struct sip_request *req, const char *text)
{
/* XXX Convert \n's to \r\n's XXX */
- add_header(req, "Content-Type", "text/plain");
+ add_header(req, "Content-Type", "text/plain;charset=UTF-8");
add_header_contentLength(req, strlen(text));
add_line(req, text);
return 0;
More information about the asterisk-commits
mailing list