problems with accented characters in a query