String contains an invalid character [How to Solve]

In a rush project, an error is suddenly reported when the project is running: string contains an invalid character

I never encountered it and didn’t tell you where there was an error. I didn’t find any problem when I checked the code. Later, I found that due to my carelessness, I thanked an English symbol in the code. Remind yourself to write code carefully again


Similar Posts: