History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17208
Type: Bug Bug
Status: Open Open
Assignee: Dmitry Jemerov
Reporter: Björn Kautler
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Diff, and therefore also patch and shelf changes, messes with encoding

Created: 20 Feb 08 15:33   Updated: 12 Mar 08 10:53
Component/s: Version Control Integration. Perforce

Environment: Windows XP SP2

Build: 7,590
Severity: Extreme


 Description  « Hide
When doing "Perforce -> Compare with the same repository version'", there is strange behaviour if the file contains special characters like german umlauts. The file is definitely not changed, not even checked out for edit, but there are changes displayed. The shown changes are, that in the left pane (server version) the umlauts are shown as little squares (not correctly decoded letters) and in the right pane (local version) the umlauts are shown correctly. I think that the problem is due to an encoding issue when retrieving the server version for diffing. This also impacts creating patches and shelving changes in that way that the patch can not be applied, and the changes can not be unshelved, because of wrong context or wrong before state. This worked fine with CVS so I think it is a problem of the Perforce Integration.

Manual Workaround:

  • There is no workaround, don't use IDEAs diffing capabilities in any way when using Perforce or be aware that there can be problems. This includes at least diffing, creating patches, shelving changes and maybe others.


 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 20 Feb 08 15:41
Looks like you copied the description from the previous issue. Please enter the correct one.

Björn Kautler - 20 Feb 08 15:42
I just cloned the bug and was editing the description

Nano - 12 Mar 08 10:51 - edited
Same problem here.
The real problem is that as soon as a developer changes one single line inside a file IDEA tells him that he has done half a dozen changes and he is no longer able to distinguish those "fake changes" from the real one. (Each line which contains some umlauts or special characters inside comments is tagged as changed)

Due to this bug Idea 7.x is currently not useable for our project. (And we have purchased >100 licences!)
Our developers are still using 6.x......