When writing to the base of the value 'комп\'ютер' (with an apostrophe, since the language is Ukrainian), an error occurs.
How can this be fixed?
When writing to the base of the value 'комп\'ютер' (with an apostrophe, since the language is Ukrainian), an error occurs.
How can this be fixed?
Try to escape characters before writing to the database.
For example, the apostrophe code looks like this: 
In general, on this occasion there is a wonderful article " Screening (or what you need to know to work with the text in the text) " [ archive ] .
To eliminate the error, it is necessary to replace the symbol "'" (apostrophe) with "` "(gravis).
The error occurred due to the fact that the apostrophe is a service symbol that defines the boundaries of the string value.
Source: https://ru.stackoverflow.com/questions/575586/
All Articles