Handle non-ASCII characters in WHOIS responses #13

merged 1 commit into from Aug 31, 2012

2 participants


String#split raises "invalid byte sequence in UTF-8 (ArgumentError)" (Ruby 1.9.3) when it encounters non-ASCII characters like à, é, etc. Using String#lines fixes that.

Tested on Ruby 1.8.7 and 1.9.3.


Awesome! Thank you sir!

@jpf jpf merged commit 4e027ce into jpf:master Aug 31, 2012

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment