TextPipe: Online Help
    Map Filters
 

Submit feedback on this topic 

 Home  User Assistance   Tutorials   How to Use TextPipe
 Menus: File   Edit   Filters[ Wizards  Convert   Unicode   Add   Remove   Replace   Extract   Special   Maps   Restrict ]  Tools   Window   Help   Advanced

 

Found under the "Maps" menu, these filters map each character of input to an output character or string.

A map defines a mapping for every single input character (all 256 of them). Each ASCII code is represented by a row in a grid – the left column gives the ASCII code in decimal ("Dec"), the next column gives the ASCII code in Hex ("Hex"), the next column shows the ASCII representation of the character ("ASCII"), and the right hand column shows the string that it will be mapped to ("Replacement text"). Note that if the system font does not provide a definition for a particular ASCII character (as is usually the case for ASCII codes 0 to 31 and 127, but there may be more), then it is represented as a thick vertical bar. Cells that are output differently to the input are shown with a yellow background - this makes it easy to scan through the list looking for changes.

When the replacement text cannot be normally displayed, characters are displayed using an escape code e.g. \r\n is the code for a DOS end of line. Any combination of characters can be entered in this way. The right-click (or context) menu on this field supports Undo, Cut, Copy, Paste, Delete, Clear Entire Field, Select All and Select All And Copy and entering special characters.

If all the replacements are a single byte, then TextPipe will used an optimized filter which is 3 times faster than the custom case (which handles replacements of zero characters, one character or more).

Reset

A cell is Reset when it passes through unchanged i.e. the output character is the same as the input character.

Reset All

All cells can be reset by clicking "Clear All".

Clear

A cell is cleared or empty when nothing is output when the character is encountered in the input stream.

Clear All

All cells can be cleared by clicking "Clear All".

Reverse

If the character mapping is 1:1 (i.e. each input character gets mapped to a single output character), the "Reverse" button can be clicked to form the Reverse mapping translation.

Scroll to

Clicking in the Scroll To field and pressing a keyboard character will cause the grid to immediately scroll to show the mapping for that character. This makes it easy to find characters when you're not sure where in the list they appear.

Open and Save

Maps can be saved to and opened from .MAP files by clicking on the Save and Open icons displayed when a map filter is selected for editing.

See also

Refresh map list
New map
Base map on filter list
Available maps
Unicode maps

 

 Contact Us   Support   Community   Tutorials and User Guides (online)
 Copyright © 1999-2006 DataMystic. All rights reserved.