web stats
Changing CharSet - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2017, 06:30 AM
com4care com4care is offline
What's HL7?
 
Join Date: Mar 2017
Posts: 4
com4care is on a distinguished road
Default Changing CharSet

I have a channel who gets HL7 and transform it to DELIMITED TEXT. That works, but the output is a file containing the records. This file has automatically the character set US-ASCII, but so the receiving system (ms windows) don't understand some special characters like , , etc.

So I have to transform the message in UTF-8.

I found the post:
http://www.mirthcorp.com/community/f...3206#post43206

But can anyone help me how it is to use?
Reply With Quote
  #2  
Old 04-04-2017, 06:52 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,116
narupley is on a distinguished road
Default

Just setting the encoding to UTF-8 on your File Writer destination should do the job.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 04-04-2017, 11:39 PM
com4care com4care is offline
What's HL7?
 
Join Date: Mar 2017
Posts: 4
com4care is on a distinguished road
Default

Ah ok, I found it! Thank you very much!

Last edited by com4care; 04-05-2017 at 12:16 AM.
Reply With Quote
  #4  
Old 04-05-2017, 12:46 AM
com4care com4care is offline
What's HL7?
 
Join Date: Mar 2017
Posts: 4
com4care is on a distinguished road
Default

I think it don't work. I have this result in the console:

file --mime-encoding FILE
FILE: us-ascii
Reply With Quote
  #5  
Old 04-05-2017, 06:40 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,116
narupley is on a distinguished road
Default

Not sure what you're talking about there.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

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 01:50 PM.


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