Skip to content

utf8_encode output if it is invalid utf-8 - #59

Open
plzz wants to merge 1 commit into
phpWhois:masterfrom
plzz:utf8_encode
Open

plzz wants to merge 1 commit into
phpWhois:masterfrom
plzz:utf8_encode

Conversation

@plzz

@plzz plzz commented Aug 16, 2016

Copy link
Copy Markdown

Using phpWhois output is cumbersome otherwise, because the invalid utf-8 will break json_encode etc. downstream. The result may be gibberish anyway but that can't really be helped, and valid utf-8 gibberish is better than invalid utf-8.

@NikoGrano

Copy link
Copy Markdown

Hi!

If you see this issue still relevant and could be fixed by this PR. Please submit it to https://github.com/niko9911/phpWhois.

I will make sure it will be checked and merged if necessary. Thank you for contributing.

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.

2 participants