philnash / bitly

🗜 A Ruby wrapper for the bit.ly API
https://rubygems.org/gems/bitly
MIT License
451 stars 139 forks source link

Invalid utf-8 in lib/bitly/v3/user.rb #37

Closed p closed 11 years ago

p commented 11 years ago

Installing ri documentation for bitly-0.8.1... unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/bitly/v3/user.rb, skipping

I can create a pull request for this if wanted.

philnash commented 11 years ago

Could you give me a few more details on this? What version of ruby and rubygems are you using to install the gem?

Do you have a fix that you could put in a pull request?

Thanks

p commented 11 years ago

If you view that file in master you will see that character in it. It is one of the quotes I believe. I will do a pull request.

philnash commented 11 years ago

I still can't see what is wrong, and I can't reproduce the error either. If you can point me to the line number this is on, or fix it in a pull request, I will get it merged in.

p commented 11 years ago

According to http://www.fileformat.info/info/unicode/char/2019/index.htm it is valid utf-8, so not sure what the issue is exactly but I will send a PR anyway.

philnash commented 11 years ago

Thanks for the pull request!