Handle non-ASCII characters in WHOIS responses #13

Merged
merged 1 commit into from Aug 31, 2012

2 participants

@infertux

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.

@jpf
Owner

Awesome! Thank you sir!

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

You're welcome!

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