Properly declare charset for text messages.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson 2008-05-14 14:03:42 +00:00
parent bb386c84e7
commit f07454f25d
1 changed files with 1 additions and 1 deletions

View File

@ -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;