Index: Source/web/WebPageSerializerImpl.cpp |
diff --git a/Source/web/WebPageSerializerImpl.cpp b/Source/web/WebPageSerializerImpl.cpp |
index 0ce48995db162452ab89ba520d64e798351dacc8..38e8a1fc85b7e3e11e01d43d8476f3fc5c259a8e 100644 |
--- a/Source/web/WebPageSerializerImpl.cpp |
+++ b/Source/web/WebPageSerializerImpl.cpp |
@@ -285,7 +285,7 @@ void WebPageSerializerImpl::encodeAndFlushBuffer( |
String content = m_dataBuffer.toString(); |
m_dataBuffer.clear(); |
- CString encodedContent = param->textEncoding.encode(content, WTF::EntitiesForUnencodables); |
+ CString encodedContent = param->textEncoding.normalizeAndEncode(content, WTF::EntitiesForUnencodables); |
// Send result to the client. |
m_client->didSerializeDataForFrame(param->url, |