This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 212525

Summary: Add a way to specify file encoding
Product: utilities Reporter: Tomas Mysik <tmysik>
Component: DiffAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: markiewb, pjiricka
Priority: P1    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 212501    

Description Tomas Mysik 2012-05-15 12:04:28 UTC
Originally filed as issue #212501.

The problem is that there is no way to specify the encoding of the file for the diff action. This is problem if one is diffing temporary files of a project - project has some encoding but the temporary file has the system default encoding (since it is typically in the TEMP directory).

Comment 1 Tomas Mysik 2012-05-15 13:41:10 UTC
Heh, sorry; of course, this is an enhancement.
Comment 2 Tomas Mysik 2012-05-17 03:13:40 UTC
BTW I just noticed that currently there are already 3 FEQs in the IDE:

SERVICE org.netbeans.spi.queries.FileEncodingQueryImplementation
  PROVIDER org.netbeans.modules.versioning.ui.diff.DiffFileEncodingQueryImpl @1
  PROVIDER org.netbeans.modules.versioning.util.queries.DiffFileEncodingQueryImpl @1
  PROVIDER org.netbeans.modules.php.project.connections.sync.diff.DiffFileEncodingQueryImpl @2