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 - Add a way to specify file encoding
Summary: Add a way to specify file encoding
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Ondrej Vrabec
Depends on:
Blocks: 212501
  Show dependency tree
Reported: 2012-05-15 12:04 UTC by Tomas Mysik
Modified: 2016-05-23 19:05 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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