Sponsored Content
Top Forums Shell Programming and Scripting Help with Converting UTF-8 data to Unicode Post 302589818 by methyl on Thursday 12th of January 2012 05:28:28 PM
Old 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

converting string to unicode

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

grep and UNICODE (utf-16) file

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

Converting Unicode file to UTF8 format

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

[ask]unicode utf-8 for arabic font

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

Help to Convert file from UNIX UTF-8 to Windows UTF-16

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
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)
All times are GMT -4. The time now is 11:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy