It's all about the answers!

Ask a question

how to set encoding for RTC scmtools?


Jun He (334) | asked Nov 21 '12, 12:32 p.m.
 I try to import multiple projects to RTC and set encoding for source code to UTF-8 uniformly. 

This can be done with Eclipse RTC client by setting content-type to UTF-8. I can share project from there and encoding will be UTF-8 automatically. 

However, if I use scmtools (lscm or scm) command line to share project, the encoding will be platform depending. From windows I got encoding cp1252 and from our Linux box, encoding is ANSI_X3.4-1968 even with /etc/default/locale: LANG=en_us.UTF-8.  

Is there any way I can set encoding for scmtools so when importing source code will be imported as UTF-8 encoding?  

 

Accepted answer


permanent link
Sridevi Sangaiah (59179) | answered Nov 22 '12, 5:47 a.m.
JAZZ DEVELOPER
Hi,

https://jazz.net/wiki/bin/view/Main/SCMMagicFile describes how to configure encoding when using the command line client.

Thanks,
Sridevi
RTC SCM CLI
Jun He selected this answer as the correct answer

Your answer


Register or 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.