Forum: Ruby on Rails render :partial, accentuated characters and Ajax preview

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Alain R. (Guest)
on 2006-01-05 14:51
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
area)

As
  - 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?

TIA

Alain R.

[1]: based on http://railsdiary.com/diary/ajax_markdown_preview
This topic is locked and can not be replied to.