Add header and footer filters

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Add header and footer filters

Postby DFH » Tue Feb 19, 2013 7:28 pm

Now that Comment filters permit the direct inclusion of UTF-8 text,
it would make sense also for the Add header and Add footer filters to do the same,
i.e. For the "Using this text" option.

Ditto for filters Add left margin & Add right margin.

It already works for external files, so it should be a simple tweak to the UI to facilitate the improvement.

Currently, even if I paste the copyright symbol © into the header text pane, it does not get encoded correctly.
Neither does it work to add a single special character such as \A9.
One has to insert the hexadecimal byte code \xC2\xA9 for it to be properly applied.
For new users, this could be quite a challenge.

User avatar
DataMystic Support
Site Admin
Posts: 2139
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Re: Add header and footer filters

Postby DataMystic Support » Mon Feb 25, 2013 1:45 pm

Hi David,

The comment filter simply stores this data, it does not output it, and hence does not have to worry about the myriad problems of matching the pasted data to the current file encoding.

Referring to an external file simply dumps the data into the filter stream without regard to the file encoding.

\xC2\xA9 is the correct data to output for a UTF-8 file.

Should TextPipe figure out the input file encoding, as one of
UTF-8, UTF16LE/BE, UTF32, ANSI, or some other type pre-specified by the user, and operate accordingly?

Simon Carter, - Insulin dose calculator for Type 1 diabetes - 250,000 free software downloads - send huge email attachments

Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Add header and footer filters

Postby DFH » Sat Mar 09, 2013 11:39 pm


I see the difficulty.

I'll defer this to your closer knowledge of what might be feasible to implement without too much hassle.


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests