blob: ff774a5eb3eecf0c1d5ad3dc8f7dabff6057f365 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>
Changing the encoding used to show the source
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Changing the encoding used to show the source
</h1>
To change the encoding used by the Java editor to display source files:
<ul>
<li>
With the Java editor open, select <strong>Edit &gt; Encoding</strong> from the menu bar
</li>
<li>
Select an encoding from the menu or select <strong>Others</strong> and, in the dialog that appears, type in the encoding's name.
</li>
</ul>
<strong>Note:</strong> this setting affects only the way the source is presented.
<p>
To change the encoding that the Java editor uses when saving files, specify a
text file encoding preference on
<strong>Window &gt; Preferences &gt; Workbench &gt; Editors</strong>.<br>
<p>
<img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159"><br>
<a href="../concepts/concepts-7.htm">Java editor</a>
</p>
<p>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"><br>
<a href="tasks-54.htm">Using the Java editor</a>
</p>
<p>
<img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><br>
<a href="../reference/ref-menu-edit.htm">Edit menu</a><a href="../reference/ref-menu-source.htm"></a>
</p>
<p>
<a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" height="14" width="324"></a>
</p>
</body>
</html>