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

Issue when outputting differences in ascii format with unicode chars #11

Open
damian-m-g opened this issue Jun 9, 2016 · 0 comments
Open

Comments

@damian-m-g
Copy link

Hello sir. Please take a look at this:

image

The outputt:

image

How it looks when you write this content to a file:

image

The problem, found in ascii.rb:

image

The inspect is the problem. Is fine with none unicode strings, but when unicode appear it mess. The workaround we made:

image

How the file where string was written looks:

image

If this is okay for you, I can make a pull request, I'm not sure if fills expectations, probably it could be improved. Cheers.

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

No branches or pull requests

1 participant