Skip to main content
Solved

String to URL (TextEncoder)

  • August 9, 2019
  • 3 replies
  • 27 views

Forum|alt.badge.img

Hi,

 

I am using TextEncoder transformer to transform string into URL coded text. String is UTF-8 and have some Balkan letters (?, ž, ?, š) and this is where problems start.

 

For example word Kolašin TextEncoder translates into Kola%C3%85%C2%A1in but right way is Kola%C5%A1in. Is this some bug in TextEncoder or I am doing something wrong?

 

TextEncoder is set to encoding type URL(Percent encoding).

 

Maybe TextEncoder is not what I need at all so any suggest would be appreciated.

 

 

 

 

 

 

Best answer by david_r

I just tested with FME 2019.1, and the result seems correct:

š -> %C5%A1

Testing with FME 2018.1, however, I was able to reproduce the error. So the solution seems to be upgrading FME.

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.

3 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • August 9, 2019

I just tested with FME 2019.1, and the result seems correct:

š -> %C5%A1

Testing with FME 2018.1, however, I was able to reproduce the error. So the solution seems to be upgrading FME.


Forum|alt.badge.img
  • Author
  • 39 replies
  • August 9, 2019

Thank you @david_r

I am using FME 2018.1.1.0 with home license. Will i lose my license if I update?


david_r
Celebrity
  • 8394 replies
  • August 9, 2019

Thank you @david_r

I am using FME 2018.1.1.0 with home license. Will i lose my license if I update?

I don't think so, no. Worst case you'll have to contact Safe support and explain the situation, but I would be surprised if that was necessary.