Comments (5)
状況はわかりましたので、ちょっと対処します。ちなみに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.
ちなみにHTMLファイルはUTF-8で絵文字は含まれていないという認識で大丈夫でしょうか。
はいその通りです。ありがとうございます。
from jpmobile.
2ba11cb で直っていると思うのですが、どうでしょうか。
from jpmobile.
はい、iOS6からのファイルアップロード成功しました。
確認遅くなりました、ありがとうございました!
from jpmobile.
確認ありがとうございます。おかげで iOS 6 対応が出来ました ;)
from jpmobile.
Related Issues (20)
- メール転送エージェントを起動していないとテストで落ちる HOT 2
- README中のサンプルコードがリンクとして解釈されてしまっている HOT 2
- bundle installに--pathを付けるとテスト実行時にGemが見つけられない件 HOT 2
- タイポ? HOT 2
- undefined method `extract_handler_and_format` と出てしまう (Ruby2.2.0 / Rails 4.2.3) HOT 5
- raise error in `fetching from https://rubygems.org/` when bundle install HOT 9
- rails3.2.22.2にて、rails側はActionView::FileSystemResolver#queryメソッドの引数を増やしています HOT 1
- rails-4-2ブランチ で NoMethodError: undefined method `to_crlf' for "":String HOT 1
- Source change broke Rails < 5.1 support HOT 3
- mail 2.7.0でBody#only_us_ascii?が無くなった HOT 4
- Ruby 2.7 support on jpmobile 7.0 HOT 3
- TargetRubyVersion 3.0 対応
- UA-CHに対応する
- 非PC向けテンプレートだけが存在するエンドポイントで、コントローラでのアクション定義を省略できない HOT 9
- Rails 7.0では常にHAMLよりERBのテンプレートが優先されてしまう HOT 1
- 元々_mobileとついているテンプレートファイル名が使えない HOT 3
- Dependency Dashboard
- ApplicationController::Liveがtest_case.rbで定義されたnew_controller_threadを呼ぶ HOT 7
- 7.0.4 のタグとコミットが push されていなさそうです HOT 2
- request.mobile.displayがNilclassになってしまう HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpmobile.