Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 40618
BY: James Gray (bbazzarrakk)
DATE: 2008-01-25 23:07
SUBJECT: RE: mangling characters in large data set

 

This definitely sound like a character encoding issue.

I believe Rails 2 defaults to setting $KCODE for UTF-8. FasterCSV should work perfectly with that, if it is fed UTF-8 data.

Is that the encoding of the file? If not, you can use the standard iconv library to convert it.

Also check the encoding of your database tables. They need to be set to receive UTF-8 data as well.


Thread View

Thread Author Date
mangling characters in large data setclint troxel2008-01-25 22:50
      RE: mangling characters in large data setJames Gray2008-01-25 23:07

Post a followup to this message