Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314128

Summary: Changing the Encoding type value in the peferences doesn't reflect in the active editors (HTML, XML...)
Product: [WebTools] WTP Source Editing Reporter: Senthil Kathiresan <exploreksk>
Component: wst.xmlAssignee: wst.xml <wst.xml-inbox>
Status: NEW --- QA Contact: Nick Sandonato <nsand.dev>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Senthil Kathiresan CLA 2010-05-24 11:39:34 EDT
Build Identifier: M20090917-0800

Opened an XML file in the Eclipse Workbench using the XML editor and accessed the XML preference setting page. Changed the 'Encoding' field from "UTF-8" to "US ASCII" and pressed OK to save it. Change in the Encoding value doesn't get reflected in the Active editor whereas it is getting considered only for the new file creations. New file -> XML or HTML...etc. It would be good to have a listener which asks User confirmation to update preference changes in the Active editors.

Reproducible: Always

Steps to Reproduce:
1.Open an HTML / XML file using appropriate editor.
2.Right click in the Editor -> Open Preference page
3.Change Encoding value in the Preferences and Press OK.
4.Active editor will still show only the old value.
5. e.g. <?xml version="1.0" encoding="utf-8"?>