Skip to main content

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

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]:charListtn] for n in range(len(charList))}

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]:charListtn] 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..

 


Reply