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

rougify should treat file input as utf8 #417

Merged
merged 1 commit into from Jun 2, 2016
Merged

rougify should treat file input as utf8 #417

merged 1 commit into from Jun 2, 2016

Conversation

japj
Copy link
Contributor

@japj japj commented Mar 2, 2016

I had apparently an utf-8 issue where the rougify (cli) did not treat a file as utf8 on windows (even though it was saved as utf8 according to several editors.. sigh).

In #149 it was mentioned to correct the File.read calls to use encoding, but due to slightly different code in cli.rb I suspect that that specific instance might have been overlooked.

@japj japj mentioned this pull request Mar 2, 2016
@jneen
Copy link
Member

jneen commented Jun 2, 2016

Goooood catch, thank you.

@jneen jneen merged commit 64d0e78 into rouge-ruby:master Jun 2, 2016
@jneen
Copy link
Member

jneen commented Jun 6, 2016

Released in v1.11.0.

@japj japj deleted the cli-handle-utf8 branch June 9, 2016 20:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants