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 92514

Summary: Warn the user when a file cannot be decoded using the current encoding
Product: utilities Reporter: Marian Petras <mpetras>
Component: PropertiesAssignee: issues@utilities <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

Description Marian Petras 2007-01-15 08:56:25 UTC
When a .properties file is about to be opened and its content cannot be decoded
with the current encoding, show a warning dialog and allow the user to choose a
different encoding.

See
http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/class-use/CharacterCodingException.html
Comment 1 Marian Petras 2007-04-26 14:40:30 UTC
Now that issue #32392 ("Edit Text Rather than Escape Sequences") is fixed,
everything is encoded using a pure ASCII characters and \uxxxx sequences - see
also issue #75906 ("Add support for other encodings (other than ISO-8859-1)").