Skip to content

Instantly share code, notes, and snippets.

@NobbZ
Created November 7, 2012 21:26
Show Gist options
  • Select an option

  • Save NobbZ/4034596 to your computer and use it in GitHub Desktop.

Select an option

Save NobbZ/4034596 to your computer and use it in GitHub Desktop.
Umlauts in Padrino
get :index do
@a = "ä"
render "index"
end
ERROR - Cannot require /XXX/app/app.rb due to a syntax error: /home/nmelzer/projects/padrino/dv_fa/app/app.rb:91: invalid multibyte char (US-ASCII)
/XXX/app/app.rb:91: invalid multibyte char (US-ASCII)
/XXX/app/app.rb:91: syntax error, unexpected $end, expecting keyword_end
@a = "ä"
^
DEBUG - GET (0.0682ms) / - 404 Not Found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment