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

Summary: Encoding error with included path files
Product: ide Reporter: tdword
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:

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)