MKCSMAPPER(1) BSD General Commands Manual MKCSMAPPER(1)NAME
mkcsmapper -- generates hashed conversion data for iconv(3)SYNOPSIS
mkcsmapper [-mpd] -o outfile infile
DESCRIPTION
The mkcsmapper utility generates binary conversion data from plain text conversion tables for the iconv(3) library. The conversion data has
two components: The conversion mapping between specific character encodings. A pivot file, which the possible source and destination encod-
ing pairs or the set of mappings to use for a compound encoding.
The following options are available:
-d Turns on debug mode.
-m Generate mapping data from infile.
-o outfile
Put generated binary data to outfile.
-p Generate pivot data from outfile.
EXIT STATUS
The mkcsmapper utility exits 0 on success, and >0 if an error occurs.
SEE ALSO iconv(1), mkesdb(1), iconv(3)HISTORY
mkcsmapper 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 Sep 6, 2009 BSD
Check Out this Related Man Page
ICONV(1) BSD General Commands Manual ICONV(1)NAME
iconv -- codeset conversion utility
SYNOPSIS
iconv [-cs] -f from_name -t to_name [file ...]
iconv -f from_name [-cs] [-t to_name] [file ...]
iconv -t to_name [-cs] [-f from_name] [file ...]
iconv -l
DESCRIPTION
The iconv utility converts the codeset of file (or from standard input if no file is specified) from codeset from_name to codeset to_name and
outputs the converted text on standard output.
The following options are available:
-c Prevent output of any invalid characters. By default, iconv outputs an ``invalid character'' specified by the to_name codeset when it
encounts a character which is valid in the from_name codeset but does not have a corresponding character in the to_name codeset.
-f Specifies the source codeset name as from_name.
-l Lists available codeset names. Note that not all combinations of from_name and to_name are valid.
-s Silent. By default, iconv outputs the number of ``invalid characters'' to standard error if they exist. This option prevents this be-
haviour.
-t Specifies the destination codeset name as to_name.
EXIT STATUS
The iconv utility exits 0 on success, and >0 if an error occurs.
SEE ALSO mkcsmapper(1), mkesdb(1), iconv(3)STANDARDS
iconv conform to IEEE Std 1003.1-2008 (``POSIX.1'').
HISTORY
iconv first appeared in NetBSD 2.0, and made its appearance in FreeBSD 9.0.
BSD October 22, 2009 BSD
Hi,
Please can any one tell me how to convert binary data to text format and vice versa.
If possible give me the algorithm or C program.
Thanks in advance
Waiting for reply
Bye:o (5 Replies)
please let me know that in unix using c programming language we can do binary to string conversion and vice versa using ltoa and atol but how can we do it in c++ programming language.
thank you in advance. (3 Replies)
Hi,
I am a newbie to Linux(Suse).I am facing a problem with 'sqlldr' utility while trying to upload data to Database tables.My backend is Oracle and is using the UTF8 encoding format.I am trying to load a datafile which contains some Western European Characters.While loading am getting an... (0 Replies)
Hi all,
It will be very useful If you spare some time with me for this worrying error.
I am calling a conversion program which is written in C++ for converting a file format to different format. It was working fine for this past 2 yrs. But now it is not working since the file size has been... (1 Reply)
Hi All,
I am trying to pivot the contents in a file.
Ex: I have a file sample.txt with data "A B C D", i need the contents to pivot & resulting file should look like "A
B
C
... (3 Replies)
#!/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)
hi
I am trying iconv on my linux machine for conversion of RUSSIAN to ENGLISH, but i am not able to get exact result.
i want to know what initial setting in linux machine we need to do to get desired output
I created sample russian file using google translate in CP866 endcoding
and full... (5 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)
Hi Friends,
I am not able to conver character set from UTF-8 to IBM-284 throwing an error "cannot open convertor" . Could you please help me how to get out of this error.
Below command is working fine
iconv -f ISO8859-15 -t UTF-8 fromfile.txt > tofile.txt
But the below command is... (2 Replies)
Hello Guys
Please let me know how to solve the below issue
I have a file like below
drop table R1416.ABC1 cascade constraints;
drop table R1416.ABC2 cascade constraints;
drop table R1416.ABC3 cascade constraints;
drop table R1416.ABC4 cascade constraints;
drop table R1416.ABC5... (7 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)
Hi all, I am new to shell scripting so pardon me for the questions I will be asking.
I was given a task where I have to pivot my data
Example
Source
SGPAPCTUMACCHEA
Expected output
SGP APC TUM
SGP APC ACC
SGP APC HEA
Can anybody assist me on this?Please use CODE tags as required... (3 Replies)