Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Gelf and UTF-8 - #41

Merged
Moocar merged 1 commit into
Moocar:masterfrom
Athou:patch-1
Nov 4, 2014
Merged

Moocar merged 1 commit into
Moocar:masterfrom
Athou:patch-1

Conversation

@Athou

@Athou Athou commented Oct 30, 2014

Copy link
Copy Markdown
Contributor

The GELF spec (http://www.graylog2.org/resources/gelf/specification) specifies that strings should be encoded as UTF8, String.getBytes() uses the platform default encoding which is not always UTF-8. This patch fixes it by forcing the use of UTF-8.

The GELF spec (http://www.graylog2.org/resources/gelf/specification) specifies that strings should be encoded as UTF8, String.getBytes() uses the platform default encoding which is not always UTF-8. This patch fixes it by forcing the use of UTF-8.
Moocar added a commit that referenced this pull request Nov 4, 2014
@Moocar
Moocar merged commit cdb67a1 into Moocar:master Nov 4, 2014
@Moocar

Moocar commented Nov 4, 2014

Copy link
Copy Markdown
Owner

Thanks!

@Athou

Athou commented Nov 4, 2014

Copy link
Copy Markdown
Contributor Author

Would it be possible for you to publish this fix to maven central please?

@Athou
Athou deleted the patch-1 branch November 4, 2014 16:03
@Moocar

Moocar commented Nov 4, 2014

Copy link
Copy Markdown
Owner

Done. I just released 0.12. It should be in central in a couple of hours

@Athou

Athou commented Nov 4, 2014

Copy link
Copy Markdown
Contributor Author

Awesome, thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants