Example
parser = Parser()
parser.set_decoding('utf-8')
Q_open('http://example.com', parser)
// DO THINGS
Q_close()
Arguments
- Name: dec, Type: str
Source
def set_decoding(self, dec):
self._decoder = dec
set decoding.
parser = Parser()
parser.set_decoding('utf-8')
Q_open('http://example.com', parser)
// DO THINGS
Q_close()
def set_decoding(self, dec):
self._decoder = dec