Community
Participate
Working Groups
i set the windows->preferences->editors->TextFileEncoding to GBK it a Chinese charactor set.and then i wrote some Chinese in the println method just as System.out.println("²Ù×÷ʧ°Ü"); after some modify,i replace this code back from Local History.a mistake appeared.it left a mess in the println sentence.the same mistake appear in WebSphere Application Developer 5.0
Noticed that org.eclipse.compare.internal.Utilities.readString does not honour the workbench encoding (ResourcesPlugin.getEncoding()). When showing local history items, Compare should use the workbench encoding. When restoring items, though, it should just restore the bytes that were saved in the local history. Encodings should not come into play at all.
fixed and released for I20030218