Announcement

Collapse

Mirth Connect 4.0.1 Released!

Mirth Connect 4.0.1 is now available as an appliance update and on our GitHub page. Mirth Connect 4.0.1 is a patch release containing a bug fix which includes fixing a Jetty keystore regression that caused Connect servers using a PKCS12 keystore containing a wildcard certificate and/or a certificate with a SAN to throw an exception on startup. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

converte xml to json

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • converte xml to json

    Good afternoon, can anyone help me, I'm trying to convert an xml to json with the XmlUtil.toJson function, but because of the special characters the same error.

    Version Mirth : 4.0

    Fail:
    Wrapped javax.xml.transform.TransformerException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #16, byte #37)





  • #2
    Upload a message that does that. Seems like the error is telling you the problem of course.
    Last edited by pacmano; 05-03-2022, 02:01 PM.
    Diridium Technologies, Inc.
    https://diridium.com

    Comment


    • #3
      thanks for responding Pacmano, my solution was to make the object in the response transformer no for, but thanks anyway.

      Comment


      • #4
        Hello,

        try adding this line in mcservice.vmoptions file:


        -Dfile.encoding=UTF8


        Bye

        Comment

        Working...
        X