diff --git a/cldoc/clang/cindex.py b/cldoc/clang/cindex.py index e58a2dd..3f92def 100644 --- a/cldoc/clang/cindex.py +++ b/cldoc/clang/cindex.py @@ -98,7 +98,7 @@ def __str__(self): def value(self): if super(c_char_p, self).value is None: return None - return super(c_char_p, self).value.decode("utf8") + return super(c_char_p, self).value.decode("utf8", errors="replace") @classmethod def from_param(cls, param):