blob: 3030782aea31584d2132b393fc7d1b4da79e1a4b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2009 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 http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2009" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Specifying XML default encoding line delimiters" />
<meta name="abstract" content="This page lets you specify the line delimiter and the text encoding that will be used when you create or save an XML related file." />
<meta name="description" content="This page lets you specify the line delimiter and the text encoding that will be used when you create or save an XML related file." />
<meta content="XML files, specifying line delimiters, line delimiters" name="DC.subject" />
<meta content="XML files, specifying line delimiters, line delimiters" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="tedtenc" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Specifying line delimiters</title>
</head>
<body id="tedtenc"><a name="tedtenc"><!-- --></a>
<h1 class="topictitle1">Specifying XML default encoding line delimiters</h1>
<div><p>This page lets you specify the line delimiter and the text encoding
that will be used when you create or save an XML related file.</p>
<div class="section"><p>To specify the line delimiter you want to use, complete the following
steps:</p>
</div>
<ol>
<li><span>Click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span>
</span> and select <span class="menucascade"><span class="uicontrol">XML</span> &gt; <span class="uicontrol">XML
Files</span></span>.</span></li>
<li><span>From the <span class="uicontrol">Encoding</span> field, specify the default
character encoding set that is used when creating XML related files (DTDs,
XML files, XML schemas). Changing the encoding causes any new, XML related
files that are created from scratch to use the selected encoding.</span></li>
<li><span>Select <span class="menucascade"><span class="uicontrol">General</span> &gt; <span class="uicontrol">Workspace</span>
</span> in the left pane of the Preferences window and chose either <span class="uicontrol">Default</span> or <span class="uicontrol">Other</span> in
the <span class="uicontrol">New text file line delimiter </span>section. Select the
operating system that applies to your development or deployment platform from
the <span class="uicontrol">Other</span> drop down list.</span></li>
<li><span>Click <span class="uicontrol">Apply</span>, then <span class="uicontrol">OK</span>.</span>
</li>
</ol>
<div class="section" />
</div>
</body>
</html>