Encodings
Identifier:
org.eclipse.ui.encodings
Since:
3.1
Description:
A list of encodings that will be made available to the user for selection of file encodings. This list corresponds to the values of Charset#getName() for a series of Charsets. Those that are specified but not avaiable will be indicated as such in the workbench and will not be selectable by the user.
Configuration Markup:
<!ELEMENT extension (
encoding*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
<!ELEMENT encoding EMPTY>
<!ATTLIST encoding
name CDATA #REQUIRED
>
-
name - The name of the charset. If this value is sent to Charset#getName(String) the corresponding Charset would be returned.
Examples:
The following is an example of an encodings extension:
<extension
point=
"org.eclipse.ui.encodings"
>
<encoding name=
"ISO-8859-1"
/>
<encoding name=
"UTF-8"
/>
<encoding name=
"US-ASCII"
/>
</extension>
Supplied Implementation:
The workbench provides some commonly used encodings.
Copyright (c) 2004,2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html