Text encoding in business logic

Backendless Version (3.x / 6.x, Online / Managed / Pro )

6.0.12

Expected Behavior

  1. When using German text such as “ß”, “ü”, “ö”, “ä” in the codeless business logic
  2. It should be encoded properly

Actual Behavior

  1. It is not properly encoded.
  2. So for example when using a German address to make an API call, it returns a false result because the address is not recognisable.

Reproducible Test Case

  • Made an API call with this address Feldmochinger Straße, 80995 Munich
  • This is what was sent Feldmochinger Stra�e, 80995 Munich

Hello @Peter_J

You found something we have missed. You are awesome and we appreciate you for reporting the issue.

Please provide your applicationId.

I am looking into it.

@Volodymyr_Ialovyi
Glad to help, I was just trying out authentication with 3rd party API, but you can literally use any German character and you can reproduce.

AppID: 2ED7F377-22E4-00FB-FF25-BFB87366B600
Service: GeoCodeAddressService

Hello @Peter_J

try to use “Encode URI” block

Regards, Vlad

1 Like

Yep, that worked :pray: