0 Replies Latest reply on May 9, 2013 12:33 PM by mhayden

    V2 REST API fails to create discussions with multibyte UTF-8 characters

    mhayden

      I have a program which is using the Jive 5.0. V2 REST API to migrate posts from another system. The strings that fail, used to post the Subject field, are URI escaped UTF-8 conatining Unicode characters. I get the following error message:

        "The provided subject contains an invalid character, code: 4090"

      Here is the output of a test program showing the Subject output, Character set guessed from the ruby CMess gem and the resulting URI.escape text sent with the request.

       

      Subject: éè¦å

      çç

        ï¼è¯·å¨è¿éçä¸ä½ ç

                         èç³»æ¹å¼

      Character set: UTF-8

      URI escaped: %E9%9C%80%E8%A6%81%E5%85%89%E7%9B%98%E7%9A%84%EF%BC%8C%E8%AF%B7%E5%9C%A8%E8%BF%99%E9%87%8C%E7%95%99%E4%B8%8B%E4%BD%A0%E7%9A%84%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F

       

      Other examples from other languages also fail. Does this API support this kind of input?