Skip to content

Instantly share code, notes, and snippets.

@DavidEGrayson
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidEGrayson/5a03462b705f6d96e2fe to your computer and use it in GitHub Desktop.
Save DavidEGrayson/5a03462b705f6d96e2fe to your computer and use it in GitHub Desktop.
This script causes an exception in the JRuby 9.0.0.0-pre1 parser. The encoding for this script is UTF-8 without a BOM, with \r\n line endings, and there is no newline at the end of the file. The md5sum of the script is ea3a3e1bb80abd9095db810874e80650. See discussion at https://github.com/jruby/jruby/issues/1328
*.rb text eol=crlf
# coding: UTF-8
puts .encoding
puts :a.encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment