Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

humancopy's latest activity

Thursday, July 01 2010
5025 from ASCII-8BIT to UTF-8 error with MySQL seed from CSV file was updated in Ruby on Rails
  • humancopy
    humancopy commented at 1:57 PM

    I can confirm that without rails it works. :)
    For example, this works fine:

    require 'mysql'
    
    c = Mysql.init
    # host, username, password, database
    c.connect(nil,...
  • humancopy
    humancopy created the ticket at 10:41 AM

    There seems to be a problem with UTF8 strings loaded from a file and inserted with ActiveRecord.
    This is only a problem with MySQL, with SQLite it works fine.

    C...