/[gentoo]/xml/htdocs/doc/en/utf-8.xml
Gentoo

Diff of /xml/htdocs/doc/en/utf-8.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.37 Revision 1.41
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.37 2006/02/11 14:09:48 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.41 2006/07/15 17:22:49 fox2mike Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/utf-8.xml"> 5<guide link="/doc/en/utf-8.xml">
6<title>Using UTF-8 with Gentoo</title> 6<title>Using UTF-8 with Gentoo</title>
7 7
23 23
24<!-- The content of this document is licensed under the CC-BY-SA license --> 24<!-- The content of this document is licensed under the CC-BY-SA license -->
25<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 25<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
26<license /> 26<license />
27 27
28<version>2.17</version> 28<version>2.20</version>
29<date>2006-02-11</date> 29<date>2006-07-15</date>
30 30
31<chapter> 31<chapter>
32<title>Character Encodings</title> 32<title>Character Encodings</title>
33<section> 33<section>
34<title>What is a Character Encoding?</title> 34<title>What is a Character Encoding?</title>
339 your FAT filesystems or Joilet CD-ROMs.)</comment> 339 your FAT filesystems or Joilet CD-ROMs.)</comment>
340</pre> 340</pre>
341 341
342<p> 342<p>
343If you plan on mounting NTFS partitions, you may need to specify an <c>nls=</c> 343If you plan on mounting NTFS partitions, you may need to specify an <c>nls=</c>
344option with mount. If you plan on mounting FAT partitions, you many need to 344option with mount. If you plan on mounting FAT partitions, you may need to
345specify a <c>codepage=</c> option with mount. Optionally, you can also set a 345specify a <c>codepage=</c> option with mount. Optionally, you can also set a
346default codepage for FAT in the kernel configuration. Note that the 346default codepage for FAT in the kernel configuration. Note that the
347<c>codepage</c> option with mount will override the kernel settings. 347<c>codepage</c> option with mount will override the kernel settings.
348</p> 348</p>
349 349
576(set-default-coding-systems 'utf-8) 576(set-default-coding-systems 'utf-8)
577(set-terminal-coding-system 'utf-8) 577(set-terminal-coding-system 'utf-8)
578</pre> 578</pre>
579 579
580<p> 580<p>
581Nano currently does not provide support for UTF-8, although it has been planned 581Nano has provided full UTF-8 support since version 1.3.6.
582for a long time. With luck, this will change in future. At the time of writing,
583UTF-8 support is in Nano's CVS, and should be included in the next release.
584</p> 582</p>
585 583
586</body> 584</body>
587</section> 585</section>
588<section> 586<section>
610Irssi has complete UTF-8 support, although it does require a user 608Irssi has complete UTF-8 support, although it does require a user
611to set an option. 609to set an option.
612</p> 610</p>
613 611
614<pre caption="Enabling UTF-8 in Irssi"> 612<pre caption="Enabling UTF-8 in Irssi">
615/set term_type UTF-8 613/set term_charset UTF-8
616</pre> 614</pre>
617 615
618<p> 616<p>
619For channels where non-ASCII characters are often exchanged in non-UTF-8 617For channels where non-ASCII characters are often exchanged in non-UTF-8
620charsets, the <c>/recode</c> command may be used to convert the characters. 618charsets, the <c>/recode</c> command may be used to convert the characters.
709set terminal.linux.utf_8_io = 1 707set terminal.linux.utf_8_io = 1
710 708
711<comment>(For links, edit ~/.links/links.cfg and add the following 709<comment>(For links, edit ~/.links/links.cfg and add the following
712line)</comment> 710line)</comment>
713terminal "xterm" 0 1 0 us-ascii utf-8 711terminal "xterm" 0 1 0 us-ascii utf-8
712</pre>
713
714</body>
715</section>
716<section>
717<title>Samba</title>
718<body>
719
720<p>
721Samba is a software suite which implements the SMB (Server Message Block)
722protocol for UNIX systems such as Macs, Linux and FreeBSD. The protocol
723is also sometimes referred to as the Common Internet File System (CIFS). Samba
724also includes the NetBOIS system - used for file sharing over windows networks.
725</p>
726
727<pre caption="Enabling UTF-8 for Samba">
728<comment>(Edit /etc/samba/smb.conf and add the following under the [global] section)</comment>
729dos charset = 1255
730unix charset = UTF-8
731display charset = UTF-8
714</pre> 732</pre>
715 733
716</body> 734</body>
717</section> 735</section>
718<section> 736<section>

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20