Karthikragunath Bhavani
2009-Aug-14 08:26 UTC
How to avoid special characters errors on uploading csv file
Hi, I wrote a funtion for uploading csv file using fastercsv. Often im getting special characters error on upload when the csv file uses "",.:;!@#$%^&* etc. Can anyone give me tips to avoid the special character error''s and to enhance the functionality. Thanks, -- Posted via http://www.ruby-forum.com/.
milandobrota
2009-Aug-14 13:22 UTC
Re: How to avoid special characters errors on uploading csv file
Try setting :quote_char to some other character. On Aug 14, 10:26 am, Karthikragunath Bhavani <rails-mailing- l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > I wrote a funtion for uploading csv file using fastercsv. Often im > getting special characters error on upload when the csv file uses > "",.:;!@#$%^&* etc. Can anyone give me tips to avoid the special > character error''s and to enhance the functionality. > > Thanks, > -- > Posted viahttp://www.ruby-forum.com/.