diff options
author | Olle Johansson <oej@edvina.net> | 2008-05-14 14:03:42 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2008-05-14 14:03:42 +0000 |
commit | f07454f25dedc376b034fd88ddf2366c3900cd98 (patch) | |
tree | 6241bdc0eb31414d80a8955b056582f2449f4397 | |
parent | bb386c84e7d75704702e2ab8201cc9fd7c3e9811 (diff) |
Properly declare charset for text messages.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1b767c890..a976e4fbc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8002,7 +8002,7 @@ static int transmit_response_with_auth(struct sip_pvt *p, const char *msg, const 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; |