Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

scm get file downloads file with wrong encoding

I have a file in RTC with the following properties:

  • Character Encoding: UTF-8
  • Executable: false
  • Line Delimiter: Platform
  • MIME Type: text/plain
  • mvsCodePage: IBM-1047
  • preserve.file.encoding: true
  • Read Access: Component scope
When I use lscm get file to download the file to RHEL/Windows, it is downloaded with IBM-1047 encoding.  I would expect the file to be downloaded with UTF-8 encoding on RHEL/Windows since its Character Encoding value is UTF-8.  My understanding is that mvsCodePage property only applies when downloading to MVS / USS (see https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/show_properties.html&scope=null).  The file displays correctly in the RTC Eclipse client.  Also, another file with the same properties (in a different component) downloads using lscm get file as UTF-8 encoded as expected.

Does any one have any idea as to why the file is incorrectly downloading with IBM-1047 encoding on RHEL/Windows?

I'm using the RTC 6.0.6.1 scm/lscm command and RTC Eclipse Client 6.0.6.1, and the RTC server is running RTC 6.0.6.1 iFix001.

0 votes



2 answers

Permanent link

 Hi Alexander,


You can refer this article on how to configure encoding.

Below website shows you how to create or edit magic.properties file.


1 vote


Permanent link

It turns out that lscm get file is working correctly.  While the current version of the file has a Character Encoding of UTF-8, the version that was being downloaded by the lscm get file has a Character Encoding of IBM-1047.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,204
× 158

Question asked: Feb 17 '20, 5:04 p.m.

Question was seen: 2,073 times

Last updated: Feb 18 '20, 2:16 a.m.

Confirmation Cancel Confirm