Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content editing / string encoding in Ruby 1.9.2 #55

Open
peakpg opened this issue May 6, 2011 · 0 comments
Open

Content editing / string encoding in Ruby 1.9.2 #55

peakpg opened this issue May 6, 2011 · 0 comments

Comments

@peakpg
Copy link
Collaborator

peakpg commented May 6, 2011

Imported from lighthouse. Original ticket at: http://browsermedia.lighthouseapp.com/projects/28481/tickets/365. Created by mantas - 2010-07-04 08:06:02 UTC

Hello,

I'm trying to run BrowserCMS on Ruby 1.9.2-rc1. It seems to work quite well. But when I go to content editing I got following error:

Message
incompatible character encodings: ASCII-8BIT and UTF-8
Stacktrace
On line #76 of vendor/gems/browsercms-3.1.2/app/views/layouts/cms/content_library.html.erb

73:             <div id="contentwrap">
74:               <div id="functions">
75:                 <h1><%= @toolbar_title %></h1>
76:                 <%= yield :functions %>
77:                 <br clear="all" />
78:               </div>
79:               <div class="top_cap_content"></div>

browsercms (3.1.2) [v] app/views/layouts/cms/content_library.html.erb:76:in `concat'
browsercms (3.1.2) [v] app/views/layouts/cms/content_library.html.erb:76
browsercms (3.1.2) [v] app/controllers/cms/content_block_controller.rb:42:in `edit'
<internal:prelude>:10:in `synchronize'
/Users/mantas/.rvm/rubies/ruby-1.9.2-rc1/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/mantas/.rvm/rubies/ruby-1.9.2-rc1/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/mantas/.rvm/rubies/ruby-1.9.2-rc1/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant