I'm affraid that's the only way... Well, you can always write a special character like '%' and then replace all instances of "%" by "\"" :)