Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force ohai output to UTF-8 to avoid invalid characters #548

Merged
merged 3 commits into from
May 26, 2015

Conversation

lamont-granquist
Copy link
Contributor

replaces invalid characters in the rendered JSON and avoids throwing
an exception at that stage.

replaces invalid characters in the rendered JSON and avoids throwing
an exception at that stage.
@lamont-granquist
Copy link
Contributor Author

@chef/client-core this will fix the travis failures.

should probably have a spec for this but i'm busy shaving other yaks today.

@jaym
Copy link
Contributor

jaym commented May 26, 2015

👍
It'd be nice if you could put what was causing this to break (if you know) into the commit message.

@lamont-granquist
Copy link
Contributor Author

None of the strings made much sense. One was coming from /proc/cpuinfo but the non-UTF8 chars made no sense.

lamont-granquist added a commit that referenced this pull request May 26, 2015
force ohai output to UTF-8
@lamont-granquist lamont-granquist merged commit 06e85b1 into master May 26, 2015
@tas50 tas50 deleted the lcg/fix-utf8 branch November 25, 2015 23:31
@tas50 tas50 added the Bug label Nov 30, 2015
@tas50 tas50 changed the title force ohai output to UTF-8 Force ohai output to UTF-8 to avoid invalid characters Nov 30, 2015
@thommay thommay added Type: Bug Does not work as expected. and removed Bug labels Jan 24, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants