web stats
Arabic characters are no supported in mirth . - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 07-31-2019, 06:16 AM
shuhaibk54 shuhaibk54 is offline
OBX.1 Kenobi
 
Join Date: Jan 2018
Location: Abudhabi
Posts: 26
shuhaibk54 is on a distinguished road
Send a message via AIM to shuhaibk54 Send a message via Skype™ to shuhaibk54
Default 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
Reply With Quote
  #2  
Old 07-31-2019, 02:49 PM
kirbykn2's Avatar
kirbykn2 kirbykn2 is offline
Mirth Guru
 
Join Date: Sep 2014
Location: Michigan
Posts: 589
kirbykn2 is on a distinguished road
Default

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
Reply With Quote
  #3  
Old 07-31-2019, 10:47 PM
shuhaibk54 shuhaibk54 is offline
OBX.1 Kenobi
 
Join Date: Jan 2018
Location: Abudhabi
Posts: 26
shuhaibk54 is on a distinguished road
Send a message via AIM to shuhaibk54 Send a message via Skype™ to shuhaibk54
Default

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
Reply With Quote
  #4  
Old 08-01-2019, 08:52 AM
kirbykn2's Avatar
kirbykn2 kirbykn2 is offline
Mirth Guru
 
Join Date: Sep 2014
Location: Michigan
Posts: 589
kirbykn2 is on a distinguished road
Default

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
Reply With Quote
  #5  
Old 08-01-2019, 10:14 PM
shuhaibk54 shuhaibk54 is offline
OBX.1 Kenobi
 
Join Date: Jan 2018
Location: Abudhabi
Posts: 26
shuhaibk54 is on a distinguished road
Send a message via AIM to shuhaibk54 Send a message via Skype™ to shuhaibk54
Default

Thanks .
Nice . its working .
*when I changed UTF-8 in receiver end too. its receiving perfectly .
Reply With Quote
Reply

Tags
characters

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation