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: ASCII-8BIT and UTF-8" somewhere in Rack's libraries #922

Closed
LavirtheWhiolet opened this issue Mar 5, 2016 · 0 comments

Comments

@LavirtheWhiolet
Copy link

Here is the Rackup file to reproduce:

# Here is the workaround:
=begin
require 'puma'
class Puma::Configuration
  def inspect
    "(not available)"
  end
end
=end

run(lambda { |env| ['200', {'Content-Type' => 'text/html'}, ["Hi!"]] })

This is in Ruby 1.9.3.

@evanphx evanphx closed this as completed in c0f2ee2 Mar 7, 2016
evanphx added a commit that referenced this issue Mar 7, 2016
Fixes #922 - Correctly define file encoding as UTF-8
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

1 participant