Red Squirrel Stumblog RSS

Dave Hoover stumbles through technology

Nov
16th
Fri
permalink

Watch out for ISO-8859-1 on Rails

Rails uses a UTF-8 charset by default. If you have latin1 on the backend, you’ll end up with a questions mark (yes, a “?”) instead of a ® on the front end. Here’s one way to fix it, but be sure to heed Brian’s comment.