iso-8859 to utf8

Glenn1
Kilo Contributor

Hi,

Im having an issue with incoming mail being in iso-8859-1 format instead of UTF8. That means that the characters gets potentially garbled. 

For instance the subject can look something like this: "=?iso-8859-1?Q?From Glenn BTS?="

My question is if there is a script that can decode from ISO-8859-1 to UTF8 instead of trying to convert it to windows 1252.

(I prefer to have an inbound email action without resorting to RegEx.)

https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/administer/notification/concept/c_InboundEmailActions.html

Regards, Glenn Eriksson

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

I found this on Stack Overflow. I'm not familiar with, nor ever used the functions mentioned. Please let us know how it goes...

 

Stack Overflow: Convert ISO-8859-1 to UTF-8

View solution in original post

5 REPLIES 5

Chuck Tomasi
Tera Patron

I found this on Stack Overflow. I'm not familiar with, nor ever used the functions mentioned. Please let us know how it goes...

 

Stack Overflow: Convert ISO-8859-1 to UTF-8

HI Glenn, 

 I am stucked on the exactly similar kind of issue. Did you get something to come out from this ? We are running short amount of time. Any lead will be appreciated. 

 

Thanks,

Johnny

Glenn1
Kilo Contributor

Hi,

I looked at that article as well. But that one only addresses outbound files, not incoming mail. 

I'm trying to figure out if ServiceNow has something OOB that can override iso-8859 -> UTF8 instead of iso-8859 -> windows 1252.

 

Thx, Glenn

Not that I am aware of OOB. This is one of those things that you need to write yourself or put in an enhancement request in hopes that we create a library/translate function for you.

I invite you to open an enhancement request! Our product managers DO listen.

Enhancement requests: Tell us how you would improve the ServiceNow product