Exchange 2013 Transpost Agent modify body how display Chinese? RRS feed

  • Question

  • Flowing code works fine in exchange 2010 whatever English or Chinese language.

    but, exchange 2013 only can display English, the Chinese character display '???' ....

    Encoding encoding = Charset.GetEncoding(body.CharsetName);
    TextToText conversion = new TextToText();
    conversion.InputEncoding = encoding;
    conversion.HeaderFooterFormat = HeaderFooterFormat.Text;
    conversion.Footer = "<p>Hello,你好</p>";

    I tried change InputEncoding to utf8、unicode、gb2312,but it not working.

    Can someone help me?

    Many Thank! 

    Thursday, June 1, 2017 9:45 AM