I cannot seem to get the encoding right on my Oracle RoR combi. The information in the Oracle database seems to be encoded correctly. When looking up an attribute via SQL in need of special encoding I get eg ‘Straße’ which is what I expect. When requesting that same attribute from my RoR application I get ‘Stra?e’ which obviously is incorrect.
- The NLS_LANG in ENV on the Oracle server is =
AMERICAN_AMERICA.AL32UTF8 - The encoding in the database.yml in my RoR app =
utf8 - The NLS_NCHAR_CHARACTERSET of the Oracle dbase =
AL16UTF16
I tried a couple of different things by changing the parameters above but nothing worked.
Anybody have a good idea?
Things that worked was to downgrade my oracle enhance gem