DICTL(1) General Commands Manual DICTL(1)NAME
dictl - wrapper script for dict that permits using utf-8 encoded dictionaries on a terminal that is not utf-8 aware.
SYNOPSIS
dictl [OPTIONS] [word]
Description
dictl calls dict with the arguments given on the command line. dictl takes the value of the environment variable DICTL_CHARSET as the
user's preferred character set. If this variable is empty, dictl attempts to determine the character set to be used from the output of the
locale command.
Arguments passed to dictl including word are converted from the user's preferred character set to server's character set specified by
DICTL_SERVER_CHARSET variable (utf-8 if it is unset), and passed to dict. The server's output from dict is converted to the user's pre-
ferred character set.
NOTE: Because iconv omits characters from output that are invalid,
recode -f is used for character set conversions by default. If you prefer iconv, set DICTL_USE_ICONV variable to non-empty string. If you
want to use konwert, set DICTL_USE_KONWERT to non-empty string.
Because recode, iconv and konwert do not support conversion to or from the "C" or "POSIX" locales, it is recommended that all users whose
locale is "C" or "POSIX", set DICTL_CHARSET to "latin1" (ISO_8859-1).
OPTIONS
dictl accepts all dict options as described in dict(1).
AUTHOR
dictl was written by Aleksey Cheusov <vle@gmx.net>
This manual page was written by Robert D. Hilliard <hilliard@debian.org> and Aleksey Cheusov <vle@gmx.net>
SEE ALSO dict(1), recode(1), iconv(1), konwert(1)DICTL(1)
Currently,We uses ‘recode' and ‘iconv' utilities for converting UTF8 files to EBCDIC/ASCII and vice versa. These utilities were installed years ago and are outdated now. So, these tools are not supporting all the characters that are in UTF8 now.
We need to find out if there is any other... (14 Replies)
Alright, I am stuck here.
I have this variable that stores the word = HELLO and I have converted it it to -----
I have asked user to input one character at a time. SAy, if they enter E.
Therefore, I need to search 2nd character and input E there.
makes it -E--- (other checkings have been... (2 Replies)
Hi,
Could anybody explain how to change the character set of a particular string in C in unix. we are using HP-UX as OS. We require to change the input string which is in cp1250 format to utf-8.
A sample code would help. Thnx in advance (1 Reply)
Hi all,
We are facing the following problem in our HP-UX machine: software that manipulates utf-8 encoded strings (e.g. during string cut), fails to correctly manipulate strings (all containing Greek characters) that contain special characters like @, &, # etc. Actually, in different... (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, Great minds, I have some files, in fact header files, of CTD profiler, I tried a lot C programming, could not get output as I was expected, because my programming skills are very poor, finally, joined unix forum with the hope that, I may get what I want, from you people,
Here I have attached... (17 Replies)
Hey i try to create empty text file with utf-8 encoding
without success
what is the right way to do this ?
tried with
touch test.txt
iconv -f UTF-8 -t UTF-8 test.txt
or
iconv -f latin1 -t UTF-8 test.txt (8 Replies)
Hello all
i have utf-8 file that i try to convert to WINDOWS-1251 on linux
without any success
the file name is utf-8 when i try to do :
file -bi test.txt
it gives me :
text/plain; charset=utf-8
when i try to convert the file i do :
/usr/bin/iconv -f UTF-8 -t WINDOWS-1251 test.txt >... (1 Reply)