How to escape encoding within a globalized string without raw?

89 Views Asked by At

I use the rails Gem Globalize to translate my strings. When I display the strings I have an encoding error when displaying special characters like ' : =

For the apostrophe ' the encoding is & #39;

This encoding error disappear if i use the raw => raw my_string_with_enconding

How could I escape this encoding error without the raw ?

I have included the <meta charset="UTF-8"> in my header

0

There are 0 best solutions below