2001-11-07  Kaoru Fukui  <k_fukui@highway.ne.jp>

	* manual/charset.texi: Fix typo @w[ISO 6937] to  @w{ISO 6937}.
	 Also fix typo @code {mbsinit} to @code{mbsinit}.
This commit is contained in:
Ulrich Drepper 2001-11-07 07:21:22 +00:00
parent 7982ecfe46
commit bd3916e8fb
2 changed files with 298 additions and 294 deletions

View File

@ -1,3 +1,8 @@
2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp>
* manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}.
Also fix typo @code {mbsinit} to @code{mbsinit}.
2001-11-06 Ulrich Drepper <drepper@redhat.com> 2001-11-06 Ulrich Drepper <drepper@redhat.com>
* elf/dl-profile.c: Replace state variable with simple flag named * elf/dl-profile.c: Replace state variable with simple flag named

View File

@ -214,21 +214,20 @@ than a customized byte-oriented character set.
@cindex multibyte character @cindex multibyte character
@cindex EBCDIC @cindex EBCDIC
For all the above reasons, an external encoding that is different For all the above reasons, an external encoding that is different from
from the internal encoding is often used if the latter is UCS-2 or UCS-4. the internal encoding is often used if the latter is UCS-2 or UCS-4.
The external encoding is byte-based and can be chosen appropriately for The external encoding is byte-based and can be chosen appropriately for
the environment and for the texts to be handled. A variety of different the environment and for the texts to be handled. A variety of different
character sets can be used for this external encoding (information that character sets can be used for this external encoding (information that
will not be exhaustively presented here--instead, a description of the will not be exhaustively presented here--instead, a description of the
major groups will suffice). All of the ASCII-based character sets major groups will suffice). All of the ASCII-based character sets
[_bkoz_: do you mean Roman character sets? If not, what do you mean fulfill one requirement: they are "filesystem safe." This means that
here?] fulfill one requirement: they are "filesystem safe." This means the character @code{'/'} is used in the encoding @emph{only} to
that the character @code{'/'} is used in the encoding @emph{only} to
represent itself. Things are a bit different for character sets like represent itself. Things are a bit different for character sets like
EBCDIC (Extended Binary Coded Decimal Interchange Code, a character set EBCDIC (Extended Binary Coded Decimal Interchange Code, a character set
family used by IBM), but if the operation system does not understand family used by IBM), but if the operation system does not understand
EBCDIC directly the parameters-to-system calls have to be converted first EBCDIC directly the parameters-to-system calls have to be converted
anyhow. first anyhow.
@itemize @bullet @itemize @bullet
@item @item
@ -277,7 +276,7 @@ a with acute'' character. To get the acute accent character on its own,
one has to write @code{0xc2 0x20} (the non-spacing acute followed by a one has to write @code{0xc2 0x20} (the non-spacing acute followed by a
space). space).
Character sets like @w[ISO 6937] are used in some embedded systems such Character sets like @w{ISO 6937} are used in some embedded systems such
as teletex. as teletex.
@item @item
@ -505,17 +504,17 @@ sequence points. Communication protocols often require this.
@comment wchar.h @comment wchar.h
@comment ISO @comment ISO
@deftypefun int mbsinit (const mbstate_t *@var{ps}) @deftypefun int mbsinit (const mbstate_t *@var{ps})
The @code {mbsinit} function determines whether the state object pointed The @code{mbsinit} function determines whether the state object pointed
to by @var{ps} is in the initial state. If @var{ps} is a null pointer or to by @var{ps} is in the initial state. If @var{ps} is a null pointer or
the object is in the initial state the return value is nonzero. Otherwise the object is in the initial state the return value is nonzero. Otherwise
it is zero. it is zero.
@pindex wchar.h @pindex wchar.h
@code {mbsinit} was introduced in @w{Amendment 1} to @w{ISO C90} and is @code{mbsinit} was introduced in @w{Amendment 1} to @w{ISO C90} and is
declared in @file{wchar.h}. declared in @file{wchar.h}.
@end deftypefun @end deftypefun
Code using @code {mbsinit} often looks similar to this: Code using @code{mbsinit} often looks similar to this:
@c Fix the example to explicitly say how to generate the escape sequence @c Fix the example to explicitly say how to generate the escape sequence
@c to restore the initial state. @c to restore the initial state.