Skip to main content
Question

StringReplacer | Per mille

  • September 24, 2019
  • 2 replies
  • 17 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

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • September 24, 2019

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. 


  • Author
  • 1 reply
  • September 25, 2019

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!