Issue with UTF-8 content-type file comparision in RTC web client
![](http://jazz.net/_images/myphoto/5c984e7ec4ded633b649fcfc0a75c179.jpg)
One answer
![](http://jazz.net/_images/myphoto/5c984e7ec4ded633b649fcfc0a75c179.jpg)
The problematic files have "UTF-8" set as the content type, while the "working" files have e.g. "text/plain".
The web UI relies on the content type and does not recognize the files as text files, hence there is no option to view it in the Web UI.
Note: UTF-8 supported with encoding not as file content type, you have to change to supported content type.
The most obvious way to automate code migrations would be to use the SCM Command Line Interface. There are three ways to set this content type using the tool:
A. Using line "mime: <content-type>" in C:\Users\<user name>\AppData\Local\jazz-scm\magic.properties.
This sets the MIME type for all files processed by the SCM CLI.
B. By setting the property for individual files, e.g.
lscm set property jazz.mime <content-type> src/test.java
C. Using the File Properties wizard as documented in the Knowledge Center:
http://www.ibm.com/support/knowledgecenter/SSJJ9R_5.0.2/com.ibm.team.scm.doc/topics/t_scm_eclipse_lineterm_wiz.html
The list of supported content types is available online, e.g. at: