Friday, February 18, 2011

[Rails] How to turn off XML characters encoding for accents with the Rails 3 XMLSerializer?

Hi.

I'm trying to output an object as XML.
When it contains special characters, the XMLSerializer encodes them as HTML entities.
How to disable that for accents, since my XML file is UTF-8 and does not need that?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate