B
B
bozuriciyu2019-10-11 01:26:51
JavaScript
bozuriciyu, 2019-10-11 01:26:51

How to secure a string (unicode)?

When generating the sitemap (XML), I got an error in this line
'Hel\u0010lo I am Vasya.'
Problem in \u0010
I tried to read the issue, I didn’t understand anything with Unicode)
https://github.com/oozcitak/xmlbuilder-js/issues/147
https://github. com/oozcitak/xmlbuilder-js/issues/203
How to clear a line from this muck? Not just a replacement for \u0010, but in general from all such cases. Some sort of bible like sanityza?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question