Skip to main content
Question

Having trouble with published parameters containing text with accents in FME Server

  • December 18, 2019
  • 2 replies
  • 21 views

keithhastings
Contributor
Forum|alt.badge.img+9

I have a workspace that has a published parameter (selected from a list) that may contain a character with an accent. In desktop this causes no problem.

However when running from FME Server the accented character seems to get converted when being run.

So when a user selects this:

in the log file the command line arguments look like this:

 

Any ideas on what will fix this?

 

Thanks

Keith

2 replies

bruceharold
Contributor
Forum|alt.badge.img+17
  • Contributor
  • December 18, 2019

Hi Keith, I don't know FME Server but the macrons can be converted with a scripted parameter:

charList = [chr(n) for n in [0x100,0x101,0x112,0x113,0x12a,0x12b,0x14c,0x14d,0x16a,0x16b]]

 

subDict = {'AaEeIiOoUu'[n]:charList[n] for n in range(len(charList))}

keithhastings
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • December 18, 2019
bruceharold wrote:

Hi Keith, I don't know FME Server but the macrons can be converted with a scripted parameter:

charList = [chr(n) for n in [0x100,0x101,0x112,0x113,0x12a,0x12b,0x14c,0x14d,0x16a,0x16b]]

 

subDict = {'AaEeIiOoUu'[n]:charList[n] for n in range(len(charList))}

Thanks Bruce. I think the accented characters are handled in the workspace perfectly OK, it just seems to be an issue with FME Server not passing in an accented parameter to the workspace correctly. I guess there is some kind of setting, default encoding etc..

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings