MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / init

Function init

DSView/pv/utility/encoding.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace encoding{
37
38 void init()
39 {
40#ifdef _WIN32
41 QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
42#endif
43 }
44
45 void set_utf8(QTextStream &stream)
46 {

Callers 3

InitMethod · 0.50
clearMethod · 0.50
do_decode_workMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected