It's all about the answers!

Ask a question

Question regarding local.encoding property be after loading file?


Geoff Alexander (19623948) | asked Aug 24 '20, 5:00 p.m.
edited Aug 24 '20, 5:01 p.m.

I have a file that contains a not sign, Unicode U+00AC, which I've loaded on a RHEL 7.8 system using the RTC 6.0.6.1 scm load command.  The not sign is encoded as 0xac in Cp1252 and 0xc2ac in UTF-8.  After the file is loaded, the scm show properties command gives:

  jazz.encoding       - Cp1252
  jazz.executable     - false
  jazz.line-delimiter - Platform
  jazz.mime           - text/plain
  jazz.read-access    - Component scoped
  local.encoding      - UTF-8

The not sign in the loaded file is encoded as 0xac, which implies that loaded file is is Cp1252 encoded.  So why is the file's local.encoding property value UTF-8 rather than Cp1252?  Isn't this going to cause problems when the file is modified and the change checked in / delivered?

Be the first one to answer this question!


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.