MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / getunicode

Method getunicode

thirdparty/bottle/bottle.py:2614–2619  ·  view source on GitHub ↗

Return the value as a unicode string, or the default.

(self, name, default=None, encoding=None)

Source from the content-addressed store, hash-verified

2612 return copy
2613
2614 def getunicode(self, name, default=None, encoding=None):
2615 """ Return the value as a unicode string, or the default. """
2616 try:
2617 return self._fix(self[name], encoding)
2618 except (UnicodeError, KeyError):
2619 return default
2620
2621 def __getattr__(self, name, default=unicode()):
2622 # Without this guard, pickle generates a cryptic TypeError:

Callers 1

__getattr__Method · 0.95

Calls 1

_fixMethod · 0.95

Tested by

no test coverage detected