Characters in string, json


one question. Is there any way to remove this characters from json so that it will be represented in right way.



Understanding how characters are stored in strings can be confusing.
See post I made earlier “Strings: Characters Clarified a Little”.
Don’t know what’s going on with your situation. Possibly input from non UTF-8 encoded source.

You can use strings.Map to remove the characters pretty easily. Look for some examples of how it works.
Notice that you return a negative value in the mapping func to remove characters.


It was my issue. In header there was wrong type :frowning:

Sorry for your time and thank you for help!

No Problem. Glad you figured it out.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.