We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7224770 commit 81d0d65Copy full SHA for 81d0d65
src/main/java/com/redhat/labs/omp/models/gitlab/Action.java
@@ -40,7 +40,8 @@ public void encodeActionAttributes() throws UnsupportedEncodingException {
40
41
// encode contents
42
if (null != content) {
43
- byte[] encodedContents = EncodingUtils.base64Encode(this.content.getBytes());
+ byte[] encodedContents = EncodingUtils
44
+ .base64Encode(this.content.getBytes(StandardCharsets.UTF_8.toString()));
45
this.content = new String(encodedContents, StandardCharsets.UTF_8);
46
}
47
0 commit comments