Bug 217560 - [encoding] No indication of error location on save encoding mapping failure
Summary: [encoding] No indication of error location on save encoding mapping failure
Status: RESOLVED DUPLICATE of bug 144422
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-02 12:37 EST by Rustam Abdullaev CLA
Modified: 2008-02-04 07:08 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rustam Abdullaev CLA 2008-02-02 12:37:11 EST
Build ID: M20071023-1652

When saving a large file I get:
"Save could not be completed. Some characters cannot be mapped using "Cp1252" character encoding.
Either change the encoding or remove the characters which are not supported by the "Cp1252" character encoding."

No indication is given about the location of these unmappable characters, which makes fixing this error impossible for any large file.
This is especially true when doing a lot of copy-pasting from various sources.

Error message displayed in FileDocumentProvider.doSaveDocument()
message ID:
DocumentProvider_error_charset_mapping_failed_message_arg


My Suggestion:
--------------
The error dialog should display line and column number of the first unmappable character.
Comment 1 Dani Megert CLA 2008-02-03 12:26:29 EST

*** This bug has been marked as a duplicate of bug 57556 ***
Comment 2 Dani Megert CLA 2008-02-04 07:08:47 EST

*** This bug has been marked as a duplicate of bug 144422 ***