Bug 212525 - Add a way to specify file encoding
Add a way to specify file encoding
Status: NEW
Product: utilities
Classification: Unclassified
Component: Diff
All All
: P1 (vote)
Assigned To: Ondrej Vrabec
Depends on:
Blocks: 212501
  Show dependency treegraph
Reported: 2012-05-15 12:04 UTC by Tomas Mysik
Modified: 2014-06-05 12:15 UTC (History)
1 user (show)

See Also:


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo