Project

General

Profile

Actions

Bug #10673

closed

Ruby 2.2.0 bug in UTF-8 encoding with Postgres

Added by fredguest (Fred Guest) over 9 years ago. Updated over 9 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
[ruby-core:67200]

Description

There is some kind of bug in Ruby 2.2.0 re UTF-8 encoding with Postgres. I upgraded a previously bug free Rails 4.1.5 app from Ruby 2.1.5 to Ruby 2.2.0 and started getting these errors "PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding UTF8" on user input email fields in both development and in a staging environment on Heroku. Downgrading to Ruby 2.1.5 with no other changes fixed the issue completely.

Updated by hsbt (Hiroshi SHIBATA) over 9 years ago

  • Status changed from Open to Third Party's Issue

Updated by sam.saffron (Sam Saffron) over 9 years ago

pg gem have this fixed and plan to release a new stable version in a few more days.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0