Avoid encoding errors