geany/doc/html/ch03s04.html
Enrico Tröger 90bda54ff9 Update for Geany 0.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@688 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-09 17:18:25 +00:00

27 lines
3.2 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Character sets and Unicode Byte-Order-Mark (BOM)</title><link rel="stylesheet" href="geany.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="
Geany 0.8
"><link rel="up" href="ch03.html" title="Chapter 3. Usage"><link rel="prev" href="ch03s03.html" title="General"><link rel="next" href="ch03s05.html" title="Search, replace and go to"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Character sets and Unicode Byte-Order-Mark (BOM)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s03.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Usage</th><td width="20%" align="right"> <a accesskey="n" href="ch03s05.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="charset"></a>Character sets and Unicode Byte-Order-Mark (BOM)</h2></div></div></div><p>
<span class="application">Geany</span> provides support for detecting and converting
character sets. So you can open and save files in different character sets and
even can convert a file from a character set to another one.
To do this, <span class="application">Geany</span> uses the character conversion
capabilities of the GLib.
</p><p>
Furthermore, Geany detects an Unicode Byte Order Mark
(see <a href="http://en.wikipedia.org/wiki/Byte_Order_Mark" target="_top">
<em class="citetitle">http://en.wikipedia.org/wiki/Byte_Order_Mark</em>
</a> for details). Of course, this feature is only available if the opened file
is in an unicode encoding. The Byte Order Mark helps to detect the encoding of a
file, e.g. whether it is UTF-16LE or UTF-16BE and so on. On Unix-like systems using
a Byte Order Mark could cause some problems, e.g. the gcc stops with stray errors,
PHP does not parse a script containing a BOM and script files starting with a
she-bang maybe cannot be started.
In the status bar you can easily see whether the file starts with a BOM or not.
If you want to set a BOM for a file or if you want to remove it from a file, just
use the document menu and toggle the checkbox.
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
If you are unsure what a BOM is or if you do not understand where to use it,
then it is not important for you and you can safely ignore it.
</p></div><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">General </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Search, replace and go to</td></tr></table></div></body></html>