mirror of
https://github.com/samba-team/samba.git
synced 2025-02-16 09:57:47 +03:00
276 lines
4.3 KiB
HTML
276 lines
4.3 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>make_unicodemap</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD
|
|
><BODY
|
|
CLASS="REFENTRY"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><H1
|
|
><A
|
|
NAME="MAKE-UNICODEMAP"
|
|
>make_unicodemap</A
|
|
></H1
|
|
><DIV
|
|
CLASS="REFNAMEDIV"
|
|
><A
|
|
NAME="AEN5"
|
|
></A
|
|
><H2
|
|
>Name</H2
|
|
>make_unicodemap -- construct a unicode map file for Samba</DIV
|
|
><DIV
|
|
CLASS="REFSYNOPSISDIV"
|
|
><A
|
|
NAME="AEN8"
|
|
></A
|
|
><H2
|
|
>Synopsis</H2
|
|
><P
|
|
><B
|
|
CLASS="COMMAND"
|
|
>make_unicodemap</B
|
|
> {codepage} {inputfile} {outputfile}</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN14"
|
|
></A
|
|
><H2
|
|
>DESCRIPTION</H2
|
|
><P
|
|
> This tool is part of the <A
|
|
HREF="samba.7.html"
|
|
TARGET="_top"
|
|
>Samba</A
|
|
>
|
|
suite.
|
|
</P
|
|
><P
|
|
> <B
|
|
CLASS="COMMAND"
|
|
>make_unicodemap</B
|
|
> compiles text unicode map
|
|
files into binary unicode map files for use with the
|
|
internationalization features of Samba 2.2.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN20"
|
|
></A
|
|
><H2
|
|
>OPTIONS</H2
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
>codepage</DT
|
|
><DD
|
|
><P
|
|
>This is the codepage or UNIX character
|
|
set we are processing (a number, e.g. 850).
|
|
</P
|
|
></DD
|
|
><DT
|
|
>inputfile</DT
|
|
><DD
|
|
><P
|
|
>This is the input file to process. This is a
|
|
text unicode map file such as the ones found in the Samba
|
|
<TT
|
|
CLASS="FILENAME"
|
|
>source/codepages</TT
|
|
> directory.
|
|
</P
|
|
></DD
|
|
><DT
|
|
>outputfile</DT
|
|
><DD
|
|
><P
|
|
>This is the binary output file to produce.
|
|
</P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN36"
|
|
></A
|
|
><H2
|
|
>Samba Unicode Map Files</H2
|
|
><P
|
|
> A text Samba unicode map file is a description that tells Samba
|
|
how to map characters from a specified DOS code page or UNIX character
|
|
set to 16 bit unicode.
|
|
</P
|
|
><P
|
|
>A binary Samba unicode map file is a binary representation
|
|
of the same information, including a value that specifies what
|
|
codepage or UNIX character set this file is describing.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN40"
|
|
></A
|
|
><H2
|
|
>Files</H2
|
|
><P
|
|
><TT
|
|
CLASS="FILENAME"
|
|
>CP<codepage>.TXT</TT
|
|
></P
|
|
><P
|
|
> These are the input (text) unicode map files provided
|
|
in the Samba <TT
|
|
CLASS="FILENAME"
|
|
>source/codepages</TT
|
|
>
|
|
directory.
|
|
</P
|
|
><P
|
|
> A text unicode map file consists of multiple lines
|
|
containing two fields. These fields are :
|
|
</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="PARAMETER"
|
|
><I
|
|
>character</I
|
|
></TT
|
|
> - which is
|
|
the (hex) character mapped on this line.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="PARAMETER"
|
|
><I
|
|
>unicode</I
|
|
></TT
|
|
> - which
|
|
is the (hex) 16 bit unicode character that the character
|
|
will map to.
|
|
</P
|
|
></LI
|
|
></UL
|
|
><P
|
|
> <TT
|
|
CLASS="FILENAME"
|
|
>unicode_map.<codepage></TT
|
|
> - These are
|
|
the output (binary) unicode map files produced and placed in
|
|
the Samba destination <TT
|
|
CLASS="FILENAME"
|
|
>lib/codepage</TT
|
|
>
|
|
directory.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN57"
|
|
></A
|
|
><H2
|
|
>Installation</H2
|
|
><P
|
|
> The location of the server and its support files is a matter
|
|
for individual system administrators. The following are thus
|
|
suggestions only.
|
|
</P
|
|
><P
|
|
> It is recommended that the <B
|
|
CLASS="COMMAND"
|
|
>make_unicodemap</B
|
|
>
|
|
program be installed under the
|
|
<TT
|
|
CLASS="FILENAME"
|
|
>$prefix/samba</TT
|
|
> hierarchy,
|
|
in a directory readable by all, writeable only by root. The
|
|
program itself should be executable by all. The program
|
|
should NOT be setuid or setgid!
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN63"
|
|
></A
|
|
><H2
|
|
>VERSION</H2
|
|
><P
|
|
>This man page is correct for version 2.2 of
|
|
the Samba suite.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN66"
|
|
></A
|
|
><H2
|
|
>SEE ALSO</H2
|
|
><P
|
|
><A
|
|
HREF="smbd.8.html"
|
|
TARGET="_top"
|
|
><B
|
|
CLASS="COMMAND"
|
|
>smbd(8)</B
|
|
></A
|
|
>,
|
|
<A
|
|
HREF="smb.conf.5.html"
|
|
TARGET="_top"
|
|
>smb.conf(5)</A
|
|
>
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="REFSECT1"
|
|
><A
|
|
NAME="AEN72"
|
|
></A
|
|
><H2
|
|
>AUTHOR</H2
|
|
><P
|
|
>The original Samba software and related utilities
|
|
were created by Andrew Tridgell. Samba is now developed
|
|
by the Samba Team as an Open Source project similar
|
|
to the way the Linux kernel is developed.</P
|
|
><P
|
|
>The original Samba man pages were written by Karl Auer.
|
|
The man page sources were converted to YODL format (another
|
|
excellent piece of Open Source software, available at
|
|
<A
|
|
HREF="ftp://ftp.icce.rug.nl/pub/unix/"
|
|
TARGET="_top"
|
|
> ftp://ftp.icce.rug.nl/pub/unix/</A
|
|
>) and updated for the Samba 2.0
|
|
release by Jeremy Allison. The conversion to DocBook for
|
|
Samba 2.2 was done by Gerald Carter</P
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |