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 56597

Summary: Need API to find the correct encoding of files.
Product: platform Reporter: Martin Entlicher <mentlicher>
Component: -- Other --Assignee: issues@platform <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker Keywords: API
Priority: P1    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Martin Entlicher 2005-03-17 12:40:14 UTC
To prevent various ugly hacks spread over the codebase (like
org.netbeans.modules.diff.EncodedReaderFactory or
org.netbeans.modules.tasklist.providers.SuggestionContext), we should have an
API to be able to retrieve the encoding of a file content.
Comment 1 Martin Entlicher 2005-03-17 12:41:37 UTC
Issue #56318 could be solved in a much cleaner way if we have an API for that.
Comment 2 Jesse Glick 2005-03-18 15:21:43 UTC

*** This issue has been marked as a duplicate of 19928 ***
Comment 3 Jesse Glick 2005-04-11 17:13:46 UTC
Wrong issue.
Comment 4 Jesse Glick 2005-04-11 17:13:59 UTC

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