Encodings related to Sql. It can escape quotes, by replacing them by double quotes, as is
needed in SQL statements.
author: Michiel Meeuwissen author: Jaco de Groot
singleQuoteBack(Reader r, Writer w) Unescapes single quotes in a string.
Unescaping is done by replacing two quotes with one quote.
Parameters: r - the string to unescape Parameters: w - the result is written to this writer.
Escapes single quotes in a string.
Escaping is done by doubling any quotes encountered.
Strings that are rendered in such way can more easily be included
in a SQL query.
Parameters: r - the string to escape Parameters: w - The escaped string goes to this writer the writer since: MMBase-1.7
Unescapes single quotes in a string.
Unescaping is done by replacing two quotes with one quote.
Parameters: r - the string to unescape Parameters: w - the result is written to this writer. the writer since: MMBase-1.7.2