Home | History | Annotate | Download | only in simplejson

Lines Matching refs:encoding

68 def scanstring(s, end, encoding=None, _b=BACKSLASH, _m=STRINGCHUNK.match):
69 if encoding is None:
70 encoding = DEFAULT_ENCODING
83 content = unicode(content, encoding)
112 encoding = getattr(context, 'encoding', None)
113 return scanstring(match.string, match.end(), encoding)
129 encoding = getattr(context, 'encoding', None)
132 key, end = scanstring(s, end, encoding)
229 def __init__(self, encoding=None, object_hook=None):
231 ``encoding`` determines the encoding used to interpret any ``str``
243 self.encoding = encoding