fix: #3580767 use UTF-8 safe string functions

Closes #3580767

Merge request reports

Loading