On 03.01.2008 17:16 Yonik Seeley wrote:

> CSV doesn't use backslash escaping.
> http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm
> 
> "This is text with a ""quoted"" string"

Thanks for the hint but the result is the same, that is, ""quoted""
behaves exactly like \"quoted\":
- both leave the single unescaped quote in the record: "quoted"
- both have the problem with a backslash before the escaped quote:
  "This is text with a \""quoted"" string" gives an error "invalid
  char between encapsualted token end delimiter".

So, is it possible to get a record into the index with csv that
originally looks like this?:
This is text with an unusual \"combination" of characters

A single quote is no problem: just double it (" -> "").
A single backslash is no problem: just leave it alone (\ -> \)
But what about a backslash followed by a quote (\" -> ???)

-Michael

Reply via email to