RegExp: put more data to log on UTF-8 errors