diff options
Diffstat (limited to 'src/charset.cpp')
-rw-r--r-- | src/charset.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charset.cpp b/src/charset.cpp index 3fe0878f..21e6005e 100644 --- a/src/charset.cpp +++ b/src/charset.cpp @@ -56,7 +56,8 @@ charset::charset(const char* name) void charset::parse(const string& buffer, const string::size_type position, const string::size_type end, string::size_type* newPosition) { - m_name = string(buffer.begin() + position, buffer.begin() + end); + m_name = utility::stringUtils::trim + (string(buffer.begin() + position, buffer.begin() + end)); setParsedBounds(position, end); |