libutf-8 man page on DragonFly

Printed from http://www.polarhome.com/service/man/?qf=libutf-8&af=0&tf=2&of=DragonFly

LIBUTF-8(3)		 BSD Library Functions Manual		   LIBUTF-8(3)

NAME
     utf-8 — library function manual page

SYNOPSIS
     #include <utf-8.h>

     unsigned int
     fgetu8(FILE *input);

     int
     fputu8(unsigned int c, FILE *output);

     unsigned int
     sgetu8(unsigned char *string, int *chars);

     char *
     sputu8(unsigned int c, char *buffer);

DESCRIPTION
     The utf-8 library ⟨libutf-8.so⟩ contains functions for the conversion of
     Unicode files and strings.	 These functions have been designed in the
     style of the fgetc() and fputc() standard C functions.

     The fgetu8() and fputu8() functions work with files. The sgetu8() and
     sputu8() functions convert text strings in the computer memory.

     The fgetu8() and sgetu8() functions convert UTF-8 formatted data into a
     32-bit Unicode-style integer (UCS-4); the fputu8() and sputu8() functions
     do the opposite conversion.

SEE ALSO
     fgetu8(3), fputu8(3), sgetu8(3), sputu8(3)

     F. Yergeau, UTF-8, a transformation format of Unicode and ISO 10646,
     RFC2044.

     D. Goldsmith, M. Davis, Using Unicode with MIME, RFC1641.

STANDARDS
     ISO 10646-1: 1993 (``Unicode''), RFC 2044: 1996 (``UTF-8''), ANSI
     X3.159-1989 (“ANSI C89”).

AUTHORS
     This manual page was written by G. Adam Stanislav ⟨adam@whizkidtech.net⟩.

BSD				 April 1, 1999				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net