Menu

[r16]: / src / xmlencodinghandler.h  Maximize  Restore  History

Download this file

20 lines (16 with data), 516 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#ifndef XML_ENCODING_HANDLER_H
#define XML_ENCODING_HANDLER_H
#include <string>
#include <utility>
#include "casehandler.h"
class XmlEncodingHandler
{
public:
static std::string get(
const std::string& utf8);
static bool setUtf8(std::string& utf8, bool ignoreCurrentEncoding = false);
static bool set(std::string& buffer, std::string& encoding);
static bool hasDeclaration(const std::string& utf8);
static std::pair<int, int> getEncodingValueLimits(const std::string& utf8);
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.