| 
 Posted by NC on 03/13/06 03:02 
Geoff Berrow wrote: 
> 
> I'm exporting CSV files nicely now but I wondered how other 
> people tackle the problem of the content containing quotes. 
 
RFC 4180 specifies escaping a double quote by putting another double 
quote in front of it.  However, RFC 4180's status is "Informational", 
and it notes the existence of "considerable differences among 
implementations".  So you should consult the manual(s) for the software 
that you expect to read the CSV you are generating and see what they 
suggest.  
 
Cheers,  
NC
 
  
Navigation:
[Reply to this message] 
 |