Skip to content

Instantly share code, notes, and snippets.

@bretweinraub
Created November 17, 2010 20:50
Show Gist options
  • Save bretweinraub/704053 to your computer and use it in GitHub Desktop.
Save bretweinraub/704053 to your computer and use it in GitHub Desktop.
Hospital.create(:name => "E.O.Ü. T.F.")
ActiveRecord::StatementInvalid: PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xdc2e
HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment