monkeybreadsoftware

Problem with Text::GetBytesEx in Plugin-SDK corrupting text

Discussion created by monkeybreadsoftware on Dec 11, 2018
Latest reply on Dec 11, 2018 by TSGal

We have a problem with a client here. A FileMaker text field has about 390000 characters.

The text contains umlauts (German text) and when the plugin requests the text as UTF-8, we get the text, but 8 characters in-between are missing and on the end, we have an extra 8 NULL characters.

 

Looks like Text::GetBytesEx uses some chunk processing, which may not work correctly if characters use more than one byte?

 

Anyone else has seen this?

Outcomes