protected function _escape_str($str) { return str_replace("'", "''", remove_invisible_characters($str)); }