[Rets-dev] SQL string escaping

Dave Dribin dribin at crt.realtors.org
Thu Mar 30 13:56:42 CST 2006


Here's MySQL string escaping, which supports C-style backslash  
(though no Unicode characters):

   <http://dev.mysql.com/doc/refman/5.0/en/string-syntax.html>

RQL Draft 4 uses the Java-style, pretty much verbatim (RQL doesn't  
support octal):

   <http://java.sun.com/docs/books/jls/third_edition/html/ 
lexical.html#3.10.6>

I like how you can do any Unicode hex code with \uxxxx.

-Dave



More information about the Rets-dev mailing list