railsyard / railsyardcms

Railsyard - One Ruby on Rails CMS to rule them all!
www.railsyardcms.org
Other
95 stars 7 forks source link

ERROR Encoding::UndefinedConversionError: U+2713 from UTF-8 to US-ASCII #20

Closed ferriswheel closed 12 years ago

ferriswheel commented 12 years ago

hello,

thanks for you response to my previous question.

now i get this error message when i try to logon to the admin page.

U+2713 is the 'check mark' symbol in the universial character set. a grep of the code directory did not find this character sequence, except in the log file.

any suggestions of what might be causing this error?

regards

john

$ bundle exec rails server /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in block in require': iconv will be deprecated in the future, use String#encode instead. => Booting WEBrick => Rails 3.1.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2012-03-07 20:20:48] INFO WEBrick 1.3.1 [2012-03-07 20:20:48] INFO ruby 1.9.3 (2011-10-30) [i686-linux] [2012-03-07 20:20:48] INFO WEBrick::HTTPServer#start: pid=31796 port=3000 [2012-03-07 20:21:17] ERROR Encoding::UndefinedConversionError: U+2713 from UTF-8 to US-ASCII /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:25:inwrite' /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:25:in print' /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:25:intail!' /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:15:in call' /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:inservice' /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in service' /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:inrun' /home/john/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

ferriswheel commented 12 years ago

hello,

problem solved.

the linux server (gentoo) was a new installation and the locale settings where at default, i.e. POSIX. now set to 'utf-8' and railsyardcms logon to admin working ok.

regards

john

lenart commented 11 years ago

Just a reference for people experiencing these problems and looking for a solution with an example. http://stackoverflow.com/questions/9044551/ruby-1-9-3-undefinedconversionerror/14967450#14967450