Encoding settings for the windows shell
Natsumi Yokoyama (209●3●87●101)
| asked Oct 01 '13, 12:05 a.m.
retagged Nov 22 '13, 12:42 p.m. by David Lafreniere (4.8k●7) 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
|
Accepted answer
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
|
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.
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".