Bug 4344 - Allow to specify encoding on FileDocumentProvider (1GK09RT)
Summary: Allow to specify encoding on FileDocumentProvider (1GK09RT)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:10 EDT by Vlad Klicnik CLA
Modified: 2002-06-06 06:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Klicnik CLA 2001-10-10 23:10:08 EDT
We are using org.eclipse.ui.editors.text.FileContentProvider in PDE. There is no way to specify the 
	encoding to be used by the provider (assumes defalt). PDE is using this support, but when the document
	is plugin.xml (or some of the other manifest), the encoding needs to be UTF-8 (not default).

	For now we have subclassed FileContentProvider and provided our own setDocumentContent and 
	doSaveDocument. However, FileContentProvider should allow the file encoding to be specified
	(eg. on constructor).

NOTES:
Comment 1 Kai-Uwe Maetzel CLA 2002-06-06 06:18:23 EDT
Build F1.