singlebrook / utf8-cleaner

MIT License
277 stars 44 forks source link

Implement host name sanitizing #32

Closed lysenkooo closed 6 years ago

lysenkooo commented 7 years ago

Hello, I had many issues with Encoding::UndefinedConversionError with text "\xD0" from ASCII-8BIT to UTF-8. It comes from host name (because in my rails app I need to serve page depends on domain name).

It should fix that kind of problems.

sbleon commented 6 years ago

Hi, @lysenkooo! I'm going to close this PR since the tests aren't passing and it's been inactive for a long time. But, if you want to push fixes to the test suite I'd be happy to re-open it.