Code Monkey home page Code Monkey logo

Comments (5)

rust avatar rust commented on June 2, 2024

状況はわかりましたので、ちょっと対処します。ちなみにHTMLファイルはUTF-8で絵文字は含まれていないという認識で大丈夫でしょうか。

以下はbacktraceを見やすいように整形しただけです。

ArgumentError (invalid byte sequence in UTF-8):
  jpmobile (3.0.4) lib/jpmobile/emoticon.rb:66:in `gsub'
  jpmobile (3.0.4) lib/jpmobile/emoticon.rb:66:in `external_to_unicodecr_softbank'
  jpmobile (3.0.4) lib/jpmobile/mobile/iphone.rb:23:in `to_internal'
  jpmobile (3.0.4) lib/jpmobile/rack/params_filter.rb:30:in `to_internal'
  jpmobile (3.0.4) lib/jpmobile/rack/params_filter.rb:38:in `block in parse_query'
  jpmobile (3.0.4) lib/jpmobile/rack/params_filter.rb:36:in `each'
  jpmobile (3.0.4) lib/jpmobile/rack/params_filter.rb:36:in `parse_query'
  jpmobile (3.0.4) lib/jpmobile/rack/params_filter.rb:16:in `call'
  jpmobile (3.0.4) lib/jpmobile/rack/mobile_carrier.rb:13:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/flash.rb:242:in `call'
  rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
  rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/cookies.rb:338:in `call'
  activerecord (3.2.6) lib/active_record/query_cache.rb:64:in `call'
  activerecord (3.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  activesupport (3.2.6) lib/active_support/callbacks.rb:405:in _run__31726921__call__275934101__callbacks'
  activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.6) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/reloader.rb:65:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
  railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.1) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.1) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
  railties (3.2.6) lib/rails/engine.rb:479:in `call'
  railties (3.2.6) lib/rails/application.rb:220:in `call'
  rack (1.4.1) lib/rack/content_length.rb:14:in `call'
  railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
  rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
  C:/tools/ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
  C:/tools/ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
  C:/tools/ruby193/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

  Rendered C:/tools/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
  Rendered C:/tools/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
  Rendered C:/tools/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28
.0ms)

from jpmobile.

takedasoft avatar takedasoft commented on June 2, 2024

ちなみにHTMLファイルはUTF-8で絵文字は含まれていないという認識で大丈夫でしょうか。

はいその通りです。ありがとうございます。

from jpmobile.

rust avatar rust commented on June 2, 2024

2ba11cb で直っていると思うのですが、どうでしょうか。

from jpmobile.

takedasoft avatar takedasoft commented on June 2, 2024

はい、iOS6からのファイルアップロード成功しました。
確認遅くなりました、ありがとうございました!

from jpmobile.

rust avatar rust commented on June 2, 2024

確認ありがとうございます。おかげで iOS 6 対応が出来ました ;)

from jpmobile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.