RQMAPIUtility.jar does not run on some foreign language Windows OSes
![](http://jazz.net/_images/myphoto/4445535de47492ef141b83264975cd54.jpg)
I recently had opportunity to use the RQMAPIUtility.jar to obtain information about lab resource reservations.
The information is available in the RQM REST API using the resource type "reservation":
You can obtain these values:
- /reserveFrom
- /reserveTo
- /reservedBy
- /reservedFor
When running this command I received the below error since the feed information was not parse-able.
PS C:\ibm\JazzTeamServer\server\jre\bin> .\java -jar RQMAPIUtility.jar -c=readAllreservationResources -qm=https://myserver:9443/qm/ -u=myuser -pw=mypass -pa=JKE+Banking+%28%E5%93%81%E8%B3%AA%E7%AE%A1%E7%90%86%29 -l="mylog.txt" -r="reservations.xml" -o
java.io.IOException: Error reading feed 'https://myserver:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/projects' for artifact type 'projects'.
How to resolve this?
One answer
![](http://jazz.net/_images/myphoto/4445535de47492ef141b83264975cd54.jpg)
An easy solution was to change this line in com.ibm.rqm.api.internal.util.FeedReader.java to add "UTF-8", since my OS platform uses MS932 as default. I think Japanese, Chinese and other Windows OS would encounter a similar problem.
Document feedDoc = xmlIn.build(new ByteArrayInputStream(xml.getBytes("UTF-8")));
I would like to suggest to make that (or similar) change, to allow others to run the utility on Windows OSes with different default charsets.