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 174083

Summary: Provides per-file specified text encoding
Product: platform Reporter: johnsonlau <johnsonlau>
Component: Data SystemsAssignee: johnsonlau <johnsonlau>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Introduced property - Text Encoding
Patch

Description johnsonlau 2009-10-08 15:11:19 UTC
There might be some files coming into another encodings which are different from a working project.
If the files are copied directly into the projects without encoding conversion and opened,
the contents would be mess up.
In Eclipse, we can specify an encoding just for the exact file.
But NetBeans provides no way to make this easier.

I'd like to introduce a function which allows user to speificy text encoding for each file to NetBeans.
The patch is attached here for a demo.
Comment 1 johnsonlau 2009-10-08 15:11:53 UTC
Created attachment 89103 [details]
Introduced property - Text Encoding
Comment 2 johnsonlau 2009-10-08 15:12:30 UTC
Created attachment 89104 [details]
Patch
Comment 3 Jiri Skrivanek 2009-10-09 08:28:23 UTC
Such a request already exists.

*** This issue has been marked as a duplicate of 157817 ***