| Index: Source/wtf/text/TextEncoding.cpp
|
| diff --git a/Source/wtf/text/TextEncoding.cpp b/Source/wtf/text/TextEncoding.cpp
|
| index 99d6ed8c44b31eb4c3ae43ff747c7d3c0eaea24e..9adff579120c04ae646a1759407d88bc778569a0 100644
|
| --- a/Source/wtf/text/TextEncoding.cpp
|
| +++ b/Source/wtf/text/TextEncoding.cpp
|
| @@ -60,7 +60,7 @@ String TextEncoding::decode(const char* data, size_t length, bool stopOnError, b
|
| if (!m_name)
|
| return String();
|
|
|
| - return newTextCodec(*this)->decode(data, length, true, stopOnError, sawError);
|
| + return newTextCodec(*this)->decode(data, length, DataEOF, stopOnError, sawError);
|
| }
|
|
|
| CString TextEncoding::encode(const String& string, UnencodableHandling handling) const
|
|
|