Render :partial, accentuated characters and Ajax preview

Hi all,

I added a textile preview Ajax - 1 - button to an edit page, and
accentuated characters now show up corrupted (but only in the preview


  • they are displayed correctly in the rest of the page,
  • they are still correct when they reach the ‘preview’ controller
    , I guess “render :partial” is the culprit.

Is there a way to tell render how to render text? I didn’t find it in
the doc.

Any idea?


Alain R.

[1]: based on

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs