MKESDB(1) BSD General Commands Manual MKESDB(1)NAME
mkesdb -- generates conversion catalog for iconv(3)SYNOPSIS
mkesdb [-md] -o outfile infile
DESCRIPTION
The mkesdb utility generates conversion catalog for the iconv(3) library. The generated data includes a list of supported encodings and
their most important characteristics, like the pluggable module to use
The following options are available:
-d Turns on debug mode.
-m Process directory catalog or alias file. If not specified, the input file is treated as an encoding description.
-o outfile
Put generated binary data to outfile.
EXIT STATUS
The mkesdb utility exits 0 on success, and >0 if an error occurs.
SEE ALSO iconv(1), mkcsmapper(1), iconv(3)HISTORY
mkesdb first appeared in NetBSD 2.0, and made its appearance in FreeBSD 9.0.
AUTHORS
This manual page was written by Gabor Kovesdan <gabor@FreeBSD.org>.
BSD November 1, 2009 BSD
Check Out this Related Man Page
__ICONV_GET_LIST(3) BSD Library Functions Manual __ICONV_GET_LIST(3)NAME
__iconv_get_list __iconv_free_list -- retrieving a list of character encodings supported by iconv(3)LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <iconv.h>
int
__iconv_get_list(char ***names, size_t count, bool paired);
void
__iconv_free_list(char **names, size_t count);
DESCRIPTION
The __iconv_get_list() function obtains a list of character encodings that are supported by the iconv(3) call. The list of the encoding
names will be stored in names and the number of the entries is stored in count. If the paired variable is true, the list will be arranged
into canonical/alias name pairs.
The __iconv_free_list() function is to free the allocated memory during the call of __iconv_get_list().
RETURN VALUES
Upon successful completion __iconv_get_list() returns 0 and set the names and count arguments. Otherwise, -1 is returned and errno is set to
indicate the error.
SEE ALSO iconv(3), iconvlist(3)STANDARDS
The __iconv_get_list and __iconv_free_list functions are non-standard interfaces, which appeared in the implementation of the Citrus Project.
The iconv implementation of the Citrus Project was adopted in FreeBSD 9.0.
AUTHORS
This manual page was written by Gabor Kovesdan <gabor@FreeBSD.org>.
BSD October 20, 2009 BSD
#!/bin/sh
# Solo para Argentina :s
# License: Sisterware
# este script necesita curl e iconv, iconv es porque los del servicio meteorologico no usan utf-8 ¬¬
# 87938 = Ushuaia
# 87934 = Rio Grande
# 87418 = Mendoza
# 87582 = Capital Federal
# 87692 = Mar del Plata
# 87480 = Rosario
#... (1 Reply)
#!/bin/sh
#Argentina Only :s
# This script requires curl and iconv, iconv is because they do not use Weather Service utf-8 ¬¬
# 87938 = Ushuaia
# 87934 = Rio Grande
# 87418 = Mendoza
# 87582 = Capital Federal
# 87692 = Mar del Plata
# 87480 = Rosario
# 87344 = Cordoba
# 87371 = Santa Fe
... (8 Replies)
Hello,
I am stuck... i dunno why does my test fail... any idea ?
#!/bin/bash
dos2unix info.txt
Distor=Distributeur
LINE=$(cat info.txt | sed -n 1p)
echo $LINE
echo $Distor
echo ""
echo "123-$LINE-123"
echo "123-$Distor-123"
if ; then
LINE2=$(cat info.txt | sed -n 2p)
echo $Distor... (14 Replies)
I need to convert a utf16 file to utf8. When i use the iconv command to do so it gives an error saying invalid function.
When I ran the iconv -l function it did not list the utf16 and utf8 as part of its internal table. Is there anyway I can add these encodings in the library? Is there any other... (3 Replies)
Hello.
We have to make conversion from ibm-852 to UTF-8 (using iconv).
We already installed bos.iconv.iso2, but I suppose another fileset is missing :
# echo toto | iconv -f UTF-8 -t IBM-852
iconv: 0791-004 cannot open converter
I know I can make this conversion from IBM-852 to UTF-8... (2 Replies)