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 48841

Summary: Editor should warn user when is not possible correctly save a document.
Product: xml Reporter: Martin Schovanek <mschovanek>
Component: Text-EditAssignee: Petr Pisl <ppisl>
Status: CLOSED FIXED    
Severity: blocker Keywords: I18N
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2004-09-10 14:10:19 UTC
[Nb #200409071800, jdk1.5.0]

User should be warn when the document cannot be
correctly saved in the current encoding, e.g. when
user have a document with ISO-8859-2 specific
characters and then he saves it in ISO-8859-1.

The current editor implementation silently destroy
the document (all ISO-8859-2 specific characters
are replaced by question mark).

See Issue #48695.
Comment 2 dmladek 2004-09-14 10:33:01 UTC
IMHO, including this fix to Beta2 would be nice.

After the fix is integrated into the 'release40_beta2' branch, the
committer must change the status whiteboard to 'beta2-fix'.
Comment 3 Petr Pisl 2004-09-14 12:54:09 UTC
I don't think this is Beta2 candidate. This bug was here for all
history of netbeans. I'm removing the beta2-candidate from Status
Whiteboard.
Comment 4 dmladek 2004-09-14 15:16:59 UTC
OK, it was only my suggestion :-)
The fix is fine in latest DEV (4.0) build