How to replace "'"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

How to replace "'"

Stephan Wiesner-3
Hi list,
I hava an application where let my users enter data. If they enter special
characters, like é, they are correctly stored as \u00e8.
This does not work with the single quote ', though. If a user enters this
data, the SQL can not be executed.
What shoudl I do about this? I tried to replace it with \u0027, which is the
unicode representation of the quote, but it did not work.


SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Hsqldb-user mailing list
[hidden email]