01-12-2012
Please post a Hexadecimal and Ascii dump of both in.txt and out.txt. As you have omitted to mention what Operating System and version you have, I can only suggest the unix "od" command (complete with suitable parameters for your system).
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can I can convert a string in a shell script that looks something like: ]] to unicode equivalent?
thanks a lot,
webtekie (1 Reply)
Discussion started by: webtekie
1 Replies
2. UNIX for Dummies Questions & Answers
I'm using shell scripting in Applescript. When searching a file with the ANSEL character set (for GEDCOM files) using (grep '1 CHAR ANSEL' filepath) gives the expected result. When searching a UNICODE formatted file (utf-16), searching for text known to exist in the file using (grep '1 CHAR... (4 Replies)
Discussion started by: Whiterock
4 Replies
3. Shell Programming and Scripting
Hi,
I have a file in my desktop which is a unicode format. After this file is transferred to Unix using FTP, we are seeing some special character (like rectangle box type) at the first line. The same file is saved as UTF8 (using textpad tool, selecting encode to UTF-8 option) on my desktopand... (7 Replies)
Discussion started by: vfrg
7 Replies
4. UNIX for Advanced & Expert Users
hlow all,
i want to read arabic font in cli (cat, vi ,etc) in windows i can see the for why in linux i can't see that. this for the example وَمَنْ يَشْكُرْ فَإِنَّمَا يَشْكُرُ لِنَفْسِهِ
what should i do ? i need your advice for read that font in cli...:confused:
thx before (0 Replies)
Discussion started by: zvtral
0 Replies
5. Linux
Hi,
I have tried to convert a UTF-8 file to windows UTF-16 format file as below from unix machine
unix2dos < testing.txt | iconv -f UTF-8 -t UTF-16 > out.txt
and i am getting some chinese characters as below which l opened the converted file on windows machine.
LANG=en_US.UTF-8... (3 Replies)
Discussion started by: phanidhar6039
3 Replies
LEARN ABOUT DEBIAN
c-icap-mkbdb
c-icap-mkbdb(8) System Manager's Manual c-icap-mkbdb(8)
NAME
c-icap-mkbdb - simple ICAP clientutility to create Berkeley DB lookup tables
SYNOPSIS
c-icap-mkbdb [ -d debug_level ] [ -i file.txt ] [ -o file.db ] [ -t string|int|ip ] [ -v string|int|ip ] [ --dump ]
DESCRIPTION
c-icap-mkbdb utility can be used to create Berkeley DB databases which can be used as lookup tables by the c-icap server.
OPTIONS
-d debug_level
The debug level
-i file.txt
The file contains the data (required). The line format of this file must be:
key: value1, value2, ....
-o file.db
The database to be created
-t string|int|ip
The type of the key. Select string for string keys, int for integer keys or ip for using IP addresses as keys. The "string" is the
default.
-v string|int|ip
The type of the values. The "string" is the default.
--dump Do not update the database just dump it to the screen.
EXAMPLES
c-icap-mkbdb -o keys -i keys.txt
It builds the keys Berkeley DB database, using string type for keys and values.
c-icap-mkbdb -o keys --dump
Dump the contents of the keys database
SEE ALSO
c-icap(8) c-icap-client(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-config(8)
AUTHOR
Tsantilas Christos
c_icap 0.1.6 c-icap-mkbdb(8)