# Uninitialized constant Iconv

**URL:** <https://www.ruby-forum.com/t/uninitialized-constant-iconv/167090>\
**Category:** Rails I18n\
**Created:** [May 3, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-iconv/167090 "2009-05-03T19:01:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![supertiti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@supertiti](https://www.ruby-forum.com/u/supertiti)\
**Post date:** [May 3, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-iconv/167090/1 "2009-05-03T19:01:21Z")

</div>

Hi there,

I’m having an issue with a RoR website : when trying to save a text  
change into the database i get the error below

Strange thing is that i imported the database from production where it  
is working well, under mysql on both development and production…

After being gone through some reasearch, i found this is most likely  
because of an encoding mismatch. But the encoding in the database.yml is  
the same in production and dev as well…

Any ideas ?
