Using #9920, with a default UTF-8 encoding, some project having the
whole root encoding set to windows-1252, we have recurrent problem of
files changing encoding to UTF-8.
For some file, encoding appear as UTF-8 and is grayed out. To changed
it back to windows-1252, I have to modify the file, then encoding box
becomes ungrayed, change it to windows-1252. Then the encoding box
returns to UTF-8 grayed! The with a second change, the box finally
display the right windows-1252 encoding.
A rule is added to the project file to specificaly set this particular
file encoding to windows-1252, on top of the encoding rule applied to
the whole source root.
What could cause these encoding mismatches?
We have some developpers that don't use the shared project, and could
potentially edit the file using another encoding. But while this can
create discrepencies in display, I don't see why that would change
anything in IDEA since files are commited to SVN. SVN don't store any
encoding for file content as far as I understand.
thanks for any tip