Files
@ 34ec0df769f1
Branch filter:
Location: libtransport.git/src/BlockParser.cpp - annotation
34ec0df769f1
644 B
text/x-c++hdr
avoid WTF-8.
what arrives from XMPP is already UTF-8 encoded, so applying UTF-8 again
produces somewhat unfortunate results.
this line is not always necessary. before this change, the code was
dependent on the locale.
what arrives from XMPP is already UTF-8 encoded, so applying UTF-8 again
produces somewhat unfortunate results.
this line is not always necessary. before this change, the code was
dependent on the locale.
8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 b3725b47c4ba 8ee031044843 b3725b47c4ba 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 b3725b47c4ba 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 | /*
* Copyright (c) 2011 Jan Kaluza
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#include <transport/BlockParser.h>
namespace Transport {
// This payload is NOT part of ANY XEP and it is only
// libtransport related extension.
BlockParser::BlockParser() /*: level_(0)*/ {
}
void BlockParser::handleStartElement(const std::string& /*element*/, const std::string& /*ns*/, const Swift::AttributeMap& /*attributes*/) {
}
void BlockParser::handleEndElement(const std::string&, const std::string&) {
}
void BlockParser::handleCharacterData(const std::string&) {
}
}
|