Announcement

Collapse
No announcement yet.

Arabic characters are no supported in mirth .

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

  • Arabic characters are no supported in mirth .

    I have created mirth http listener accepting a Json and creating Hl7 v2 message. that object contains Arabic name too.

    when accepted value from source transformer and displayed using logger.debug(msg['arname']) its displaying as same (شهيب) .

    When I generated V2 message, arabic string is displaying in ???? in destination . any kind advise please

    My input :
    {"mrno":"45789","name":"John", "age":31, "city":"New York","Phone":"904894884","arname":"شهيب"}

    My output :
    MSH|^~\&|yay|kik|cnc|AL nab|20170830175021||ADT^A08|1708301750_431|P|2.3.1 |431||AL|NE|UK
    EVN|A08|20170830175021
    PID|1|648391|45789||^John^^^????^^L|||31||||New York|904894884|^WPN^^^^^||S||||||||||||UK
    PV1|1|||||||||SUR

  • #2
    what is the encoding set to in Mirth and what is being sent?
    Best,

    Kirby

    Mirth Certified|Epic Bridges Certified|Cloverleaf Level 2 Certified

    Appliance Version 3.11.4
    Mirth Connect Version 3.8.0
    Java Version 1.6.0_45-b06
    Java (64 bit) Version 1.6.0_45-b06
    Java 7 (64 bit) Version 1.7.0_151-b15
    Java 8 (64 bit) Version 1.8.0_181-b13
    PostgreSQL Version 9.6.8

    Comment


    • #3
      When I tried default encoding :

      MSH|^~\&|abc|cbc|cdc|AL gfg|20170830175021||ADT^A08|1708301750_431|P|2.3.1 |431||AL|NE|INDEVN|A08|20170830175021PID|1|648391| 45789||^John^^^????^^L|||31||||New York|904894884|^WPN^^^^^||S||||||||||||SAUDIPV1|1| ||||||||SUR

      When I tried with UTF-8

      MSH|^~\&|abc|cbc|cdc|AL gfg|20170830175021||ADT^A08|1708301750_431|P|2.3.1 |431||AL|NE|INDEVN|A08|20170830175021PID|1|648391| 45789||^John^^^شهيب^^L|||31||||New York|904894884|^WPN^^^^^||S||||||||||||SAUDIPV1|1| ||||||||SUR

      Comment


      • #4
        my question remains, what is the encoding in the message you receive?
        Best,

        Kirby

        Mirth Certified|Epic Bridges Certified|Cloverleaf Level 2 Certified

        Appliance Version 3.11.4
        Mirth Connect Version 3.8.0
        Java Version 1.6.0_45-b06
        Java (64 bit) Version 1.6.0_45-b06
        Java 7 (64 bit) Version 1.7.0_151-b15
        Java 8 (64 bit) Version 1.8.0_181-b13
        PostgreSQL Version 9.6.8

        Comment


        • #5
          Thanks .
          Nice . its working .
          *when I changed UTF-8 in receiver end too. its receiving perfectly .

          Comment

          Working...
          X