rcdmk / aspJSON

A fast classic ASP JSON parser and encoder for easy JSON manipulation to work with the new JavaScript MV* libraries and frameworks.
MIT License
204 stars 89 forks source link

Special characters #49

Closed JoseDevelopers closed 6 years ago

JoseDevelopers commented 6 years ago

I would like to know if there is the possibility of coding special characters such as "ñ" or "'". I have reviewed the documentation but I do not found this possibility.

rcdmk commented 6 years ago

Hi. This tool doesn't care what characterset you use, although some special characters like double quotes and linebreaks are escaped in the output. Characters with diacritics are not escaped or encoded because it is an application specific requirement.

JoseDevelopers commented 6 years ago

Hi, thanks for your answer. I understand what you say, but for example the character "BS" (8 of the ascii table) gives me an error in the JSON, what can I do with this? I'm using the "LoadRecordset" method, so I can not clean the string before converting it to JSON, I do not know if I explain ... = (

Thanks for your help!

rcdmk commented 6 years ago

Oh. I see what you are saying. This is one of the special cases I have to escape. I should fix this soon.

JoseDevelopers commented 6 years ago

Great! I will wait for your fix with hope! jeje

Thank you very much.

JoseDevelopers commented 6 years ago

Thanks Ricardo, I'll try it tomorrow.