web stats
unable to parse µ char - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2020, 10:57 AM
JoeFox JoeFox is offline
Mirth Newb
 
Join Date: Jan 2014
Posts: 16
JoeFox is on a distinguished road
Question unable to parse µ char

Hi together,

I've a problem. I build a channel that reads files from a local path and transfers it to another local path. The files are ORU files that are encoded in ISO-8859-1. When I open a file in Windows with Notepad I see the µ char.

The Source and the Destination Encoding is ISO-8859-1, too. The database is a PostgreSQL database with UTF-8 Encoding.

When the Mirth parsed the file the µ char isn't in the saved file anymore.
When I look at the RAW file in Mirth, the µ char isn't there anymore, too.

I'm using Mirth Version 3.4.

What can I do to get the µ char in the output file, too?

Kind regards!!
Reply With Quote
  #2  
Old 02-17-2020, 11:19 AM
JoeFox JoeFox is offline
Mirth Newb
 
Join Date: Jan 2014
Posts: 16
JoeFox is on a distinguished road
Lightbulb can be closed

I'm very sorry, the thread can be deleted or closed.

I inserted these line in the Attachment (Javascript) option four years ago:

message = message.replace(/[^\x00-\x7F]/g, '');

I didn't remember that…
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 03:15 AM.


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