From: thhal at mailblocks.com (Thomas Hallgren) Date: Thu, 05 May 2005 16:19:24 +0200 Subject: [Pljava-dev] Problems with JDBC-UNICODE In-Reply-To: <33093.10.0.0.64.1115301237.squirrel@10.0.0.64> References: <33093.10.0.0.64.1115301237.squirrel@10.0.0.64> <427A2B6C.2050203@mailblocks.com> Message-ID: Jordi Marqu?s wrote: > when I use tsearch2 (in trigger) to insert "text" or "to varchar" in a > table one it appears to me the following error. > > Exception: ERROR: Regex error in '[^?he$': brackets [] not balanced > > I am sure that it is related to the character code but I do not have > solution > > Thank you > > -- > Jordi Marqu?s Ferr? (jordi.marques at iigov.org) You are aware that in order to pass a backslash you need to escape it (i.e. \\ or even \\\\ if you want to pass escaped backslash to the SQL parser). Can you provide a sample of the statement that you pass to JDBC? Regards, Thomas Hallgren