kpumuk / meta-tags

Search Engine Optimization (SEO) for Ruby on Rails applications.
MIT License
2.73k stars 275 forks source link

fix string encoding #14

Closed paulcookie closed 11 years ago

paulcookie commented 12 years ago

On 1.9.3-p0 I had some troubles with utf-8 support my rails 3.2.1 project wouldn't work without that fix

kpumuk commented 12 years ago

I don't think this is a right place to do the job. Not everybody uses UTF-8 (yeah, I know, this is silly). Where non-utf8 strings come from in your application? Maybe you forgot to set default encoding for your application or forgot to add magic comment?