Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created July 23, 2008 16: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 defunkt/1803 to your computer and use it in GitHub Desktop.
Save defunkt/1803 to your computer and use it in GitHub Desktop.
$ cat init.rb | pygmentize -f html -l ruby
*** Error while highlighting:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 16: ordinal not in range(128)
(file "/Library/Python/2.5/site-packages/Pygments-0.9-py2.5.egg/pygments/lexer.py", line 151, in get_tokens)
$ pygmentize init.rb
<works>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment