Displaying 1 result from an estimated 1 matches for "messageeditor".
2006 Mar 14
2
RJS & Unicode (again)
...est_div'', the output
should remain the same, but Instead of ''?????????'' i get
''??????????????????'' which seems to be an encoding problem.
I''ve found a workaround for strings (introduced by Thomas Fuchs) by
using
page.replace_html ''messageEditor'', ''?????????''.gsub(/([^\x00-\x9f])/u)
{ |s| "&#x%x;" % $1.unpack(''U'')[0] }
instead of
page.replace_html ''a_test_div'', ''?????????''
but this strategy of course fails while rendering partials.
Are there...