*** component.rb 2011-11-30 11:16:18.107655936 +0100 --- /usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.0/lib/htmlgrid/component.rb 2011-11-30 10:47:30.885034306 +0100 *************** *** 213,219 **** @attributes.store('tabIndex', tab.to_s) end def to_html(context) ! _to_html(context, @value).to_s end @@nl2br_ptrn = /(\r\n)|(\n)|(\r)/ def _to_html(context, value=@value) --- 213,220 ---- @attributes.store('tabIndex', tab.to_s) end def to_html(context) ! #_to_html(context, @value).to_s ! _to_html(context, @value).to_s.force_encoding('utf-8') end @@nl2br_ptrn = /(\r\n)|(\n)|(\r)/ def _to_html(context, value=@value)