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

Encoding settings for the windows shell

Hello,

How to set encoding via the RTC Windows Shell ? When I share Java projects via Windows Shell, the encoding becomes "MS932". I want to set encoding as UTF-8, but I can not find the operation to do this.

I need the way to set encoding at once via the RTC Windows Shell.

Thank you in advance.

Natsumi

0 votes

Comments

Not quite sure what it means "share Java projects via Windows Shell". Can you please elaborate?
Java projects have their own encoding if you choose so. In the project properties page, set Text File Encoding to "Other:UTF-8".


Accepted answer

Permanent link
Hi Natsumi,

the encoding cannot be changed using the Windows Explorer. This is by design.
What you can change is the e.g. MIME Type. This can be done using the properties windows since 4.0.3:


For changing the encoding there is a short discussion at this workitem:
RTC Shell should be able to handle with encoding "UTF-8 without BOM"

Comment 26 by Tim Mok:
"The issue here is the sharing manager is determining that the encoding should be the same as the platform's default. Windows uses CP1252 as its default and it cannot handle this UTF-8 encoded file. There's no option in the Shell integration to override the encoding. Eclipse doesn't have this issue because the sharing manager defers to Eclipse for the encoding.

What we need here is for the clients relying on scmtools to provide a way for users to specify an encoding. Of course, we also would have to provide that API through scmtools."


Hope this helps,
Simon
Natsumi Yokoyama selected this answer as the correct answer

1 vote

Comments

Hi, Simon

Thank you for your answer. It is helpful for me.

Natsumi 

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
× 12,019
× 1,202

Question asked: Oct 01 '13, 12:05 a.m.

Question was seen: 6,386 times

Last updated: Nov 22 '13, 12:42 p.m.

Confirmation Cancel Confirm