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

incompatible character encodings: UTF-8 and ASCII-8BIT #451

Open
Siddius opened this issue Nov 7, 2013 · 5 comments
Open

incompatible character encodings: UTF-8 and ASCII-8BIT #451

Siddius opened this issue Nov 7, 2013 · 5 comments
Assignees

Comments

@Siddius
Copy link

Siddius commented Nov 7, 2013

There is an problem with using special characters. If you use a task name like "öäü" you get the error msg. sometimes, not always. After that jobsworth isnt working at all. After waiting a few hours everthing works fine again, and you are also able to edit the task, and all characters are shown right.

i am using Ubuntu with tomcat6 and the WAR file, utf8 unicode is set in mysql database, tables and connection.
This problem hast been discussed here:
https://groups.google.com/forum/#!topic/jobsworth/0Wx1ORi-C8o

ActionView::Template::Error occurred in tasks#index:

incompatible character encodings: UTF-8 and ASCII-8BIT
org/jruby/RubyString.java:2611:in `concat'

Request:

  • URL : http://######/tasks
  • IP address: ######
  • Parameters: {"action"=>"index", "controller"=>"tasks"}
  • Rails root: /var/lib/tomcat6/webapps/ROOT/WEB-INF
  • Timestamp : 2013-11-06 11:07:53 UTC

Session:

  • session id: "d34f17923f9bb17d5c955023951eb813"
  • data: {"_csrf_token"=>"b3KQQ2eZL3sJ3SdI5jWX83R8pwi44AZyOPmwaom7E0s=",
    "warden.user.user.key"=>["User", [2], "XbxmDGCPxaZie9sHxjmz"],
    "last_task_id"=>2,
    "flash"=>
    #<ActionDispatch::Flash::FlashHash:0x1f8a73d7
    @closed=false,
    @Flashes=
    {:success=>
    "Work time shown on the date/time of input #2 <a href="http://#####/tasks/2" class="tasklink ">Lizenzen abkl\xC3\xA4ren - Task successfully created."},
    @now=nil,
    @used=#<Set: {:success}>>}

Environment:

  • HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
  • HTTP_ACCEPT_ENCODING : gzip, deflate
  • HTTP_ACCEPT_LANGUAGE : de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
  • HTTP_CONNECTION : keep-alive
  • HTTP_COOKIE : _jobsworth_session=d34f17923f9bb17d5c955023951eb813
  • HTTP_HOST : #####
  • HTTP_REFERER : http://#####/tasks/new
  • HTTP_USER_AGENT : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
  • ORIGINAL_FULLPATH : /tasks
  • PATH_INFO : /tasks
  • QUERY_STRING :
  • REMOTE_ADDR : ####
  • REMOTE_HOST : ####
  • REMOTE_USER :
  • REQUEST_METHOD : GET
  • REQUEST_URI : /tasks
  • SCRIPT_NAME :
  • SERVER_NAME : ####
  • SERVER_PORT : 8080
  • SERVER_SOFTWARE
    : Apache Tomcat/6.0.35
  • action_controller.instance : tasks#index
  • action_dispatch.backtrace_cleaner : #Rails::BacktraceCleaner:0x4d134f49
  • action_dispatch.logger : #ActiveSupport::TaggedLogging:0x2eba6927
  • action_dispatch.parameter_filter : [:password, /RAW_POST_DATA/, /RAW_POST_DATA/]
  • action_dispatch.remote_ip : ####
  • action_dispatch.request.content_type :
  • action_dispatch.request.flash_hash : #ActionDispatch::Flash::FlashHash:0x1f8a73d7
  • action_dispatch.request.formats : [#<Mime::Type:0x48d93288 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>]
  • action_dispatch.request.parameters : {"action"=>"index", "controller"=>"tasks"}
  • action_dispatch.request.path_parameters : {:action=>"index",
    :controller=>"tasks"}
  • action_dispatch.request.query_parameters : {}
  • action_dispatch.request.request_parameters: {}
  • action_dispatch.request_id : 16b01bd3a1f209cbaa3c7a10770752a3
  • action_dispatch.routes : #ActionDispatch::Routing::RouteSet:0x4d921f43
  • action_dispatch.secret_token : a83ce5c1ce171572646aec7c1fd46a997f20967d27f1aa418f186cf248e08cfee3bcc3e5404666c5a98c7091f9643f22db28ed409a6fdff5249962a4f34a2b01
  • action_dispatch.show_detailed_exceptions : false
  • action_dispatch.show_exceptions : true
  • exception_notifier.options : ######
  • java.servlet_context : org.jruby.rack.servlet.DefaultServletRackContext@2b39fd0e
  • java.servlet_request : org.apache.catalina.connector.RequestFacade@238d2640
  • java.servlet_response : org.apache.catalina.connector.ResponseFacade@7ca45fc
  • jruby.rack.dynamic.requests.only : true
  • jruby.rack.jruby.version : 1.7.3
  • jruby.rack.rack.release : 1.4
  • jruby.rack.version
    : 1.1.13.2
  • rack-cache.allow_reload : false
  • rack-cache.allow_revalidate : false
  • rack-cache.cache_key : Rack::Cache::Key
  • rack-cache.default_ttl : 0
  • rack-cache.entitystore : rails:/
  • rack-cache.ignore_headers : ["Set-Cookie"]
  • rack-cache.metastore : rails:/
  • rack-cache.private_headers : ["Authorization", "Cookie"]
  • rack-cache.storage : #Rack::Cache::Storage:0x1396b77c
  • rack-cache.use_native_ttl : false
  • rack-cache.verbose : false
  • rack.errors : #JRuby::Rack::ServletLog:0x747dbe01
  • rack.input : #JRuby::Rack::Input:0x6b456f66
  • rack.multiprocess :
    false
  • rack.multithread : true
  • rack.request.cookie_hash : {"_jobsworth_session"=>"d34f17923f9bb17d5c955023951eb813"}
  • rack.request.cookie_string : _jobsworth_session=d34f17923f9bb17d5c955023951eb813
  • rack.request.query_hash : {}
  • rack.request.query_string :
  • rack.run_once : false
  • rack.session : {"_csrf_token"=>"b3KQQ2eZL3sJ3SdI5jWX83R8pwi44AZyOPmwaom7E0s=", "warden.user.user.key"=>["User", [2], "XbxmDGCPxaZie9sHxjmz"], "last_task_id"=>2, "flash"=>#<ActionDispatch::Flash::FlashHash:0x1f8a73d7 @Flashes={:success=>"Work time shown on the date/time of input #2 <a href="http://######/tasks/2" class="tasklink ">Lizenzen abkl\xC3\xA4ren - Task successfully created."}, @closed=false, @now=nil, @used=#<Set:
    {:success}>>}
  • rack.session.options : {:path=>"/", :domain=>nil, :expire_after=>10800 seconds, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"647fc59343de24d170bca01662c8bc432aa3b793e54009341c0709cdee3c", :id=>"d34f17923f9bb17d5c955023951eb813"}
  • rack.session.record : #ActiveRecord::SessionStore::Session:0x1d5055f8
  • rack.url_scheme : http
  • rack.version : [1, 1]
  • warden : Warden::Proxy:34020 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>Auth::CustomFailure}
  • Process: 1397
  • Server : server

Backtrace:

org/jruby/RubyString.java:2611:in concat' gems/gems/activesupport-3.2.13/lib/active_support/core_ext/string/output_safety.rb:133:inconcat'
gems/gems/actionpack-3.2.13/lib/action_view/buffers.rb:11:in <<' app/views/layouts/_flash.html.erb:4:in_app_views_layouts__flash_html_erb__1880235414_17144'
org/jruby/RubyHash.java:1257:in each' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:136:ineach'
app/views/layouts/_flash.html.erb:1:in _app_views_layouts__flash_html_erb__1880235414_17144' org/jruby/RubyBasicObject.java:1689:insend'
org/jruby/RubyKernel.java:2111:in send' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:145:inrender'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in instrument' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:143:inrender'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in render_partial' gems/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:inrender'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in instrument' gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in instrument' gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in instrument' gems/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:ininstrument'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in render' gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:inrender_partial'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:15:in render' gems/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:24:inrender'
app/views/layouts/_notice.html.erb:1:in _app_views_layouts__notice_html_erb___1759524450_17140' org/jruby/RubyBasicObject.java:1689:insend'
org/jruby/RubyKernel.java:2111:in send' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:145:inrender'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in instrument' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:143:inrender'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in render_partial' gems/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:inrender'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in instrument' gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in instrument' gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in instrument' gems/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:ininstrument'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in render' gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:inrender_partial'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:15:in render' gems/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:24:inrender'
app/views/layouts/basic.html.erb:34:in _app_views_layouts_basic_html_erb___737963601_16920' org/jruby/RubyBasicObject.java:1689:insend'
org/jruby/RubyKernel.java:2111:in send' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:145:inrender'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in instrument' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:143:inrender'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:47:in render_template' gems/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in instrument' gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in instrument' gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:ininstrument'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in instrument' gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:46:inrender_template'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:54:in render_with_layout' gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:45:inrender_template'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:18:in render' gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:36:inrender_template'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:17:in render' gems/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:24:inrender'
app/views/layouts/application.html.erb:15:in _app_views_layouts_application_html_erb___1717954070_16822' org/jruby/RubyBasicObject.java:1689:insend'
org/jruby/RubyKernel.java:2111:in send' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:145:inrender'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in instrument' gems/gems/actionpack-3.2.13/lib/action_view/template.rb:143:inrender'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:59:in render_with_layout' gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:45:inrender_template'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:18:in render' gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:36:inrender_template'
gems/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:17:in render' gems/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:110:in_render_template'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/streaming.rb:225:in _render_template' gems/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:103:inrender_to_body'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:28:in render_to_body' gems/gems/actionpack-3.2.13/lib/action_controller/metal/compatibility.rb:50:inrender_to_body'
gems/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:88:in render' gems/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:16:inrender'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in render' gems/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:inms'
jar:file:lib/gems-gems-jruby-jars-1.7.3-lib-jruby-stdlib-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/benchmark.rb:295:in realtime' gems/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:inms'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in render' gems/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:83:incleanup_view_runtime'
gems/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime' gems/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:39:inrender'
gems/gems/remotipart-1.0.5/lib/remotipart/render_overrides.rb:14:in render_with_remotipart' gems/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:10:indefault_render'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/mime_responds.rb:196:in respond_to' app/controllers/tasks_controller.rb:18:inindex'
org/jruby/RubyBasicObject.java:1677:in __send__' org/jruby/RubyKernel.java:2103:in send'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:4:insend_action' gems/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in process_action'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:inprocess_action' gems/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in process_action'
gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:450:in_run__120939935__process_action__1375380497__callbacks' org/jruby/RubyBasicObject.java:1677:in send'
org/jruby/RubyKernel.java:2103:in send' gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:inrun_callback'
gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in _run_process_action_callbacks' org/jruby/RubyBasicObject.java:1683:in__send
'
org/jruby/RubyKernel.java:2107:in send' gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:inrun_callbacks'
gems/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in process_action' gems/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:inprocess_action'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in
process_action' gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in instrument' gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:ininstrument'
gems/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in instrument' gems/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
gems/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in process_action' gems/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
gems/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in process' gems/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:inprocess'
gems/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in dispatch' gems/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:indispatch'
gems/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in action' org/jruby/RubyProc.java:249:incall'
gems/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in dispatch' gems/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:incall'
gems/gems/journey-1.0.4/lib/journey/router.rb:68:in call' org/jruby/RubyArray.java:1613:ineach'
gems/gems/journey-1.0.4/lib/journey/router.rb:56:in call' gems/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:incall'
gems/gems/exception_notification-2.6.1/lib/exception_notifier.rb:34:in call' gems/gems/warden-1.2.1/lib/warden/manager.rb:35:incall'
org/jruby/RubyKernel.java:1174:in catch' gems/gems/warden-1.2.1/lib/warden/manager.rb:34:incall'
gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' gems/gems/rack-1.4.5/lib/rack/etag.rb:23:incall'
gems/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:incall'
gems/gems/remotipart-1.0.5/lib/remotipart/middleware.rb:30:in call' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:incall'
gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in call' gems/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:incontext'
gems/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in call' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:incall'
gems/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in call' gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall'
gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in call' gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:408:in_run__1721873687__call__1900997266__callbacks'
org/jruby/RubyBasicObject.java:1677:in __send__' org/jruby/RubyKernel.java:2103:in send'
gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in**run_callback' gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in _run_call_callbacks'
org/jruby/RubyBasicObject.java:1677:in__send**' org/jruby/RubyKernel.java:2103:in send'
gems/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:inrun_callbacks' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in call'
gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:incall' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call'
gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:incall' gems/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in call_app'
gems/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:incall' gems/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in tagged'
gems/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:incall' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in call'
gems/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall' gems/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call'
gems/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:incall' gems/gems/actionpack-3.2.13/lib/action_dispatch/middleware/static.rb:63:in call'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward' gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in fetch'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:inlookup' gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall' gems/gems/railties-3.2.13/lib/rails/engine.rb:479:in call'
gems/gems/railties-3.2.13/lib/rails/application.rb:223:incall' file:lib/gems-gems-jruby-rack-1.1.13.2-lib-jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22:in call'

@vkosh
Copy link
Contributor

vkosh commented Nov 23, 2013

I can confirm this one for 4.0 beta 1 release. My environment is: tomcat 7 on ubuntu 12.04, system locale is ru_RU.UTF-8, mysql db encoding is utf8.
Steps to reproduce:

  1. create task with unicode characters in task name and/or description
  2. save it
  3. get and email about task created - this step is ok
  4. get the " incompatible character encodings: UTF-8 and ASCII-8BIT org/jruby/RubyString.java:2611:in `concat'" error on any request to jobsworh.
  5. after clearing cookies and relogin the error disappears until create/update action with unicode chars.

I had to downgrade to 984b3a9 commit - it fixes some early bugs and still works on ruby-1.9.3 (failed to make jobsworth work on jruby-1.7.4 + phusion passenger + apache).

@ghost ghost assigned nasa42 Dec 22, 2013
@ari
Copy link
Owner

ari commented Dec 22, 2013

Vikrant, do we have some non UTF templates still?

@nasa42
Copy link
Collaborator

nasa42 commented Dec 22, 2013

Everything is UTF-8 by default in the application (and in database if properly configured). This is probably something more complicated. I'm working on reproducing this and then I may have more to say about this.

@ari
Copy link
Owner

ari commented Dec 24, 2013

Given that the Hungarians translated the whole app successfully, I think we should focus on merging their changes. Perhaps that will fix the problem. I see in the fork tree that Juan created some merges for this code.

@ari
Copy link
Owner

ari commented Dec 24, 2013

Ignore that last bit about @juan-hawa since I can see he hasn't prepared a pull request. But still, we can do that work soon to merge in the Hungarian i18n improvements.

@ari ari modified the milestone: 4.1 Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants