Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-7604

XML-RPC cannot handle descriptions with non-ASCII characters

      I tried to create an issue via XML-RPC with non-ASCII characters. The issue was created, but with exception (see below).
      I tried to make the request both with xmlrpc-1.1 and xmlrpc-2.0 - same effect.

      org.apache.xmlrpc.XmlRpcException: org.apache.xmlrpc.XmlRpcException: Invalid character data corresponding to XML entity с
      at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(Unknown Source)
      at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(Unknown Source)
      at org.apache.xmlrpc.XmlRpcClientWorker.execute(Unknown Source)
      at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source)
      at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source)
      at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source)
      at com.atlassian.jira.rpc.client.sample.XmlRpcClientExample.main(XmlRpcClientExample.java:56)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)

            [JRASERVER-7604] XML-RPC cannot handle descriptions with non-ASCII characters

            It appears that an upgrade to XML-RPC 2.0 has fixed this.

            Scott Farquhar added a comment - It appears that an upgrade to XML-RPC 2.0 has fixed this.

            It would appear that this is a problem with Apache XML-RPC:

            http://cephas.net/blog/2005/08/12/xml_characters_smart_quotes_and_apache_xmlrpc.html

            I'll see if upgrading to XML-RPC 2.0 fixes things.

            Scott Farquhar added a comment - It would appear that this is a problem with Apache XML-RPC: http://cephas.net/blog/2005/08/12/xml_characters_smart_quotes_and_apache_xmlrpc.html I'll see if upgrading to XML-RPC 2.0 fixes things.

              keith@atlassian.com Keith Brophy
              7eff2d500ae5 Kir Maximov
              Affected customers:
              1 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: