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 271577 - Encoding error with included path files
Summary: Encoding error with included path files
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-02 22:18 UTC by tdword
Modified: 2017-10-02 22:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tdword 2017-10-02 22:18:24 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_111
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.111-b14

Reproducibility: Happens every time

STEPS:
 * Create two files (A and B) in two directories with encodiing UTF-8 without bom (you can do it with Notepad++)
 * Create a project with existing sources with php with directory of file A
 * Put encoding of the proyect with UTF-8
 * Add a Include path of directory of file B
 * Open B

ACTUAL:
  B is open in Ansi mode

EXPECTED:
  B is open in UTF-8 mode (no way to set encoding in include paths and not get encodign from the project or autodetect encodign)