Skip to content

Commit 29f2c35

Browse files
committed
Header modifications should preserve UTF-8 encoiding
1 parent 6567e8c commit 29f2c35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/container/core/src/main/java/org/apache/james/server/core/InternetHeadersInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private boolean readNextLine() {
6969
if (!headerLines.hasMoreElements()) {
7070
line += LINE_SEPERATOR;
7171
}
72-
currLine = line.getBytes(StandardCharsets.US_ASCII);
72+
currLine = line.getBytes(StandardCharsets.UTF_8);
7373
return true;
7474
} else {
7575
return false;

0 commit comments

Comments
 (0)