Trouble with encoding in application_helper