Add errors='replace' to unicode() call