Skip to main content
Solved

String functions on FME 2024 don't work similarly with FME 2023

  • July 5, 2024
  • 6 replies
  • 281 views

davidlee
Supporter
Forum|alt.badge.img+8

I find that the string functions on FME2024 don’t work similarly in FME 2023, in this case, it led to some problems with the outcome as not expected. Example:

I have 2 strings:

  1. “EMD-1”
  2. “ÊMĐ-1”

I use string functions as below:

 

I received 2 outcomes differently:

With the text 1: Count_index = 4

With the text 2: Count_index = 6

It is not right, in FME 2023 the outcome is 4 for both situations.

Is this a bug in FME2024 ?

 

Best answer by hkingsbury

I imagine it is a bug of sorts. Its very likely due to how FME is handling special characters. Possibly down the the byte level where special chars are being represented as twice the ‘size’ of normal chars, hence two special chars giving a count two higher

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.

6 replies

hkingsbury
Celebrity
Forum|alt.badge.img+65
  • Celebrity
  • Best Answer
  • July 8, 2024

I imagine it is a bug of sorts. Its very likely due to how FME is handling special characters. Possibly down the the byte level where special chars are being represented as twice the ‘size’ of normal chars, hence two special chars giving a count two higher


nielsgerrits
VIP
Forum|alt.badge.img+62

If not already, please submit a ticket at Safe. If it is a bug, it needs te be registered to get fixed.

https://support.safe.com/hc/en-us/p/Support


davidlee
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • July 9, 2024

If not already, please submit a ticket at Safe. If it is a bug, it needs te be registered to get fixed.

https://support.safe.com/hc/en-us/p/Support

Yes! I’ll submit this bug to Safe Support! 

 

Thank you!


crystalatsafe
Safer
Forum|alt.badge.img+26

Hi @davidlee 

Thanks for bringing this to our attention, I have filed a bug report [Internal: FMEENGINE-83382]. 

Apologies for any inconvenience caused and I will keep you updated on the progress. 

Thank you! 

Crystal 


crystalatsafe
Safer
Forum|alt.badge.img+26

Hi @davidlee 

This issue has now been fixed in our latest official release, FME 2024.1, which can be found at safe.com/downloads.
Thanks again for bringing this to our attention and helping us improve FME! 

 

Crystal 


davidlee
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • August 13, 2024

Hi @davidlee 

This issue has now been fixed in our latest official release, FME 2024.1, which can be found at safe.com/downloads.
Thanks again for bringing this to our attention and helping us improve FME! 

 

Crystal 

Thank you!