I have a workspace on FME Server that sometimes will receive strings with accent as a parameter.
I am calling the workspace with the direct url from a javascript application. I serialize the parameters to be valid in the direct url.
serialize = function(obj) {
var str = i];
for (var p in obj) {
if (obj.hasOwnProperty(p)) {
str.push(encodeURIComponent(p) + "=" + encodeURIComponent(objjp]));
}
}
return str.join("&");
}
So the string parameter NomProjet = Test ML é become NomProjet=Test%20ML%20%C3%A9
However, at the end of the workspace, I write the value of the parameter in an Excel file, but the value is blank.
If the parameter does not have accent the output is correct.
What is the problem here? What can be done?