Babylon .bgl: don't encode to utf-8 already encoded articles (tag "<charset c=U>")

This commit is contained in:
Abs62 2012-07-22 05:07:47 +04:00
parent c69534cb34
commit c79899f916
2 changed files with 4 additions and 1 deletions

View file

@ -619,6 +619,9 @@ void Babylon::convertToUtf8( std::string &s, unsigned int type )
if( s.size() < 1 ) return;
if( type > 2 ) return;
if( s.compare( 0, 13, "<charset c=U>") == 0 )
return;
std::string charset;
switch( type )
{

View file

@ -204,7 +204,7 @@ public:
enum
{
ParserVersion = 15
ParserVersion = 16
};
private: