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

Add RString#new_utf8 and string::new_utf8 #71

Merged
merged 1 commit into from Dec 18, 2017

Conversation

mjc-gh
Copy link
Contributor

@mjc-gh mjc-gh commented Apr 29, 2017

These functions will return a new Ruby string with UTF8 encoding. This is for the issue described in #67

@d-unsed
Copy link
Owner

d-unsed commented May 24, 2017

Thank you! Looks like this PR needs a new version of ruby-sys. I will release it and re-run the CI builds.

@turboladen
Copy link
Contributor

FWIW, it'd be nice to have this merged. We're using ruru in a Rails stack to build data that's used in PDF; part of what's included in that is the trademark symbol. Without this fix, we get ASCII encoding errors; with the fix we're good.

@d-unsed
Copy link
Owner

d-unsed commented Dec 15, 2017

Yes, let's do it. I just wanted to merge few more patches to ruby-sys 0.3 related to static libs before starting using it in ruru. But the things take a bit longer than I expected. So I'll simply update ruby-sys dependency and merge this commit

@turboladen
Copy link
Contributor

turboladen commented Dec 15, 2017 via email

@d-unsed
Copy link
Owner

d-unsed commented Dec 15, 2017

@mikeycgto, could you please rebase the branch?

These functions will return a new Ruby string with UTF8 encoding. This
is for the issue described in d-unsed#67
@mjc-gh
Copy link
Contributor Author

mjc-gh commented Dec 18, 2017

Sorry for the delay, should be rebased! Thanks for getting this merged in @d-unseductable 👍

@d-unsed
Copy link
Owner

d-unsed commented Dec 18, 2017

Thank you, @mikeycgto

@d-unsed d-unsed merged commit 587f1c4 into d-unsed:master Dec 18, 2017
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

3 participants