|
|
|
[
Permlink
| « Hide
]
Amnon I. Govrin - 02 Apr 07 21:37
Fixed for our .js file, but not for Java files.
Do the Java files have a byte order mark? The fix was not specific to any filetype.
I'm not sure what you mean. The fact is that it shows OK on the right side (local workspace) but wrong on the left side (Perforce version). I would expect the same character set to be used on both sides of the diff, wrong or right.
Ah, sorry, the fix was indeed not quite complete.
Still, no cigar. Still squares on the left and Japanese on the right with our Java string bundle.
Amnon Just to be completely clear:
If I ask IJ to show me the file history and I compare 2 versions on Perforce, it is fine (left and right show Japanese characters). But, if I have the file checked out and compare it by pressing Ctrl+D in the Changes panel, the left side shows squares, and the right shows Japanese, which is strange, as the right side is the checked-out workspace copy and the left side is the checked in version. The local history has the same issue for UTF-8 encoded XML files in #7051: The left side shows weird characters, the right side is OK.
The erroneous diffs also show up for me as diff bars along the left side of the editor panel. This is with a .properties file.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||