We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87cf091 + 7d70824 commit b41e1a0Copy full SHA for b41e1a0
mail/src/main/scala/spinoco/protocol/mail/imap/codec/IMAPBodyPartCodec.scala
@@ -46,7 +46,7 @@ object IMAPBodyPartCodec {
46
47
val literalString : Codec[String] = {
48
val sz: Codec[Int] = `{` ~> ( intNumber <~ `}crlf`)
49
- "literal-string" | variableSizeBytes(sz, ascii)
+ "literal-string" | variableSizeBytes(sz, utf8)
50
}
51
52
lazy val string: Codec[String] = "string" | choice(quotedAsciiString, literalString)
0 commit comments