Description of problem: The current RHN XML-RPC interface is currently returning errata and specifying that their encoding is ISO-8859-1. The problem is that some errata are actually encoded using utf-8. Version-Release number of selected component (if applicable): Version: 5.0.3 Java; System Version: 5.0.3 How reproducible: Consistently Steps to Reproduce: 1. Download attached python program 2. Modify to include a valid RHN username/password 3. Run the program. Notice the following in the output body: '<?xml version="1.0" encoding="ISO-8859-1"?> [...] by Dirk\r\nM\xc3\xbcller that The hex sequence \xc3\xbc is the utf-8 encoding of 'ΓΌ' (that's 'u' with an umlaut diacritic). However, because the XML response specifies that the data is ISO-8859-1, it is decoded incorrectly by the client. Actual results: XML-RPC reply specifies incorrect (ISO-8859-1) encoding. Expected results: XML-RPC reply specifies correct (utf-8) encoding. Additional info:
Created attachment 224941 [details] Python program demonstrating incorrect encoding for RHSA-2007:0494