- From time to time the encoding provide by the header for the body is invalid. We must catch the exception and try to detect the right encoding.