| < Previous by Date | Date Index | Next by Date > |
| < Previous in Thread | Thread Index |
In makeInitialRequest() function I added following codes
if(method == MESSAGE)mLastRequest->header(h_ContentType).param(p_charset) =
"UTF-8";to get "Content-Type: text/plain ;charset=iso-8859-1" but still getting "Content-Type: text/plain "
Please help is there anything wrong.
Regards,
ND
From: Rajan, Nihar
Sent: Mon 2/22/2010 2:52 PM
To: repro-users@xxxxxxxxxxxxxxx
Subject: Mime charset
Hi All,I want that the content type in SIP message should be as follows:"Content-Type: text/plain ;charset=iso-8859-1"So please help me how should I pass "charset=UTF-8" with "text/plain" in Mime class.I am trying to send an SMS to a SIP phone. So I followed basicMessage example.clientDum.getMasterProfile()->addSupportedMimeType(MESSAGE, Mime(
"text", "plain")) it sets "Content-Type: text/plain"so what extra work I need to do to set charset=UTF-8.
Regards,
ND
_______________________________________________
repro-users mailing list
repro-users@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/repro-users