Sponsored Content
Top Forums UNIX for Advanced & Expert Users Another binary manipulation thread. Post 302854921 by DGPickett on Wednesday 18th of September 2013 04:03:10 PM
Old 09-18-2013
All the 256 holes are always taken, so if your milieu does not have a limited character set, then you are right, the only escape is into longer strings for short characters, but then only context tells you that is the sort of file you have. That's why JAVA and xml use UTF-8 and label the content type. It started as a 'code page' discussion, a.k.a "what drum is on the printer".

There are apps for UNIX around that let you deal with image files like jpg and gif in text files of text numbers, like a decimal dump of a bmp file. I suppose if you run binary through the right dump you can then process it in shell back to a binary file.

Last edited by DGPickett; 09-18-2013 at 05:37 PM..
 

4 More Discussions You Might Find Interesting

1. Programming

How to cancel a thread safely from the initial thread?

how about asynchronous canceling? or with signal? if with signal whether it effects the process? my english so badly :( :( (1 Reply)
Discussion started by: alan.zhao
1 Replies

2. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

3. Shell Programming and Scripting

Another Building Block, Binary File Manipulation...

Apologies for any typos, and IF this has been done before... This is yet another building block. The code generates a 256 byte binary file of _characters_ 0x00 to 0xFF for general usage and generates another binary file manipulated in a basic way. I need this facility for a kids project I am... (0 Replies)
Discussion started by: wisecracker
0 Replies

4. Forum Support Area for Unregistered Users & Account Problems

Not able to post thread/reply to thread

Dear Moderator I am not able to post any new thread or post reply to mine old thread. Kindly help as i am stuck on one problem and needed suggestion. Regards Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies
MAKE_UNICODEMAP(1)														MAKE_UNICODEMAP(1)

NAME
make_unicodemap - construct a unicode map file for Samba SYNOPSIS
make_unicodemap codepage inputfile outputfile DESCRIPTION
This tool is part of the Samba suite. make_unicodemap compiles text unicode map files into binary unicode map files for use with the internationalization features of Samba 2.2. OPTIONS
codepage This is the codepage or UNIX character set we are processing (a number, e.g. 850). inputfile This is the input file to process. This is a text unicode map file such as the ones found in the Samba source/codepages directory. outputfile This is the binary output file to produce. SAMBA UNICODE MAP FILES
A text Samba unicode map file is a description that tells Samba how to map characters from a specified DOS code page or UNIX character set to 16 bit unicode. A binary Samba unicode map file is a binary representation of the same information, including a value that specifies what codepage or UNIX character set this file is describing. FILES
CP<codepage>.TXT These are the input (text) unicode map files provided in the Samba source/codepages directory. A text unicode map file consists of multiple lines containing two fields. These fields are : o character - which is the (hex) character mapped on this line. o unicode - which is the (hex) 16 bit unicode character that the character will map to. unicode_map.<codepage> - These are the output (binary) unicode map files produced and placed in the Samba destination lib/codepage direc- tory. INSTALLATION
The location of the server and its support files is a matter for individual system administrators. The following are thus suggestions only. It is recommended that the make_unicodemap program be installed under the $prefix/samba hierarchy, in a directory readable by all, write- able only by root. The program itself should be executable by all. The program should NOT be setuid or setgid! VERSION
This man page is correct for version 2.2 of the Samba suite. SEE ALSO
smbd(8) smb.conf(5) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter 19 November 2002 MAKE_UNICODEMAP(1)
All times are GMT -4. The time now is 05:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy