I have an application that synchronizes data with a remote database that users fill out. It seems that people copy and paste shit from tons of different OS and programs, which can lead to the introduction of various hidden values ββnot ASCII into the system.
For example, I get the following:
Artist:Γ’ Γ’ Ioco
This leads to being sent back to the system during synchronization, and my JSON conversion alleviates the problem, and invalid characters in different places cause my application to crash.
How do I search and clear any of these invalid characters?
source share