Umbraco is stripping special chars from label/textarea?
I'm currently working on saving some data into umbraco from and external API.
I save everything to labels (long string) since it should not be edited. (tested with textarea aswell)
My problem is that when i wanna do equality check on the fields to decide if its up to date with data from API or not, i see that the field has stripped some special chars.
In this exact case its \u0095, its gone after saving it via the contentservice.
Here is a quick example to illustrate the issue:
Is there a way to either: Save it without it removing special chars. Or if not. A method i can call to sanitize my incomming data the same way as umbraco, so i can compare the content.
Umbraco is stripping special chars from label/textarea?
I'm currently working on saving some data into umbraco from and external API.
I save everything to labels (long string) since it should not be edited. (tested with textarea aswell)
My problem is that when i wanna do equality check on the fields to decide if its up to date with data from API or not, i see that the field has stripped some special chars.
In this exact case its \u0095, its gone after saving it via the contentservice. Here is a quick example to illustrate the issue:
Is there a way to either: Save it without it removing special chars. Or if not. A method i can call to sanitize my incomming data the same way as umbraco, so i can compare the content.
is working on a reply...