Question

StringReplacer | Per mille

  • 24 September 2019
  • 2 replies
  • 2 views

I'm trying to replace the per mille sign ‰ to the other symbol with StringReplacer, but this function seems to not work for this particular character. As import file I use .txt-file.

Is it a known issue? Is there a workround for this problem?

I work with FME 2018.1

 

 


2 replies

Userlevel 1
Badge +21

I can replace that character directly in the string replacer in 2018.1. You could try replace regex instead with the following value

\x{2030}

It may be something to do with the encoding in your text file. 

Thank you for the hint!

Indeed, the problem was the encoding: I set the Tranformer AttributeEncoder (change to utf8) before the StringReplacer and it works perfectly!

Reply