Skip to content

Commit

Permalink
Added encoding utf-8 directive to support Ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
wallyqs committed Sep 25, 2011
1 parent 75fff88 commit 1704057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/org-ruby/textile_symbol_replace.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,4 @@
# encoding: utf-8
# Autogenerated by util/gen-special-replace.el # Autogenerated by util/gen-special-replace.el


module Orgmode module Orgmode
Expand Down

9 comments on commit 1704057

@pal
Copy link

@pal pal commented on 1704057 Oct 4, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this coming in a release soon? I'm currently patching it locally.

Thank you in advance!

@esambo
Copy link

@esambo esambo commented on 1704057 Nov 2, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 (I needed to patch this too in order to get the textile translate to work)

@lenage
Copy link

@lenage lenage commented on 1704057 Feb 25, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I also need this to run gollum

@bootstraponline
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 required to run gollum.

@kittenpies
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 gollum.

@wallyqs
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A version of the gem that fixes this is now on rubygems :) Sorry it took a while.

@kittenpies
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this no longer seems to work with 1.9.x .... still seeing the same errors. anyone else?

@wallyqs
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the error you are seeing the same as in #17 ?
Otherwise could you try with the "wallyqs-org-ruby" gem instead?
I will consider merging this: wallyqs@6dd3eb4

@bootstraponline
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think UTF-8 default instead of ASCII is a good idea on ruby 1.9.

Please sign in to comment.