Displaying 12 results from an estimated 12 matches similar to: "Finding and removing non-printable ascii characters in a file"
2011 Feb 15
0
How to set content_transfer_encoding to something other than quoted-printable?
Hi all,
How do I set the content_transfer_encoding for mail with actionmailer
to something other than quoted-printable? It''s a setting with TMail
which action mailer relies on in rails 2.3.*. I am trying to set it to
utf8
I have tried:
- mail = TMail::Mail.new; mail.transfer_encoding = "utf8";
- setting the @header["Content-Transfer-Encoding"] in the
2011 May 17
1
[PATCH] hivexregedit: Add --unsafe-printable-strings option.
This is a better way to make strings printable in the output
of hivexregedit / virt-win-reg.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
-------------- next part --------------
>From e16d1cc51c234eb9f3e7db3b8f77f76198ffee73 Mon
2012 Mar 11
1
[PATCH] Coalesce printable characters in debug and trace messages (RHBZ#802109).
From: "Richard W.M. Jones" <rjones at redhat.com>
---
src/events.c | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/src/events.c b/src/events.c
index f707e0b..9a1ca76 100644
--- a/src/events.c
+++ b/src/events.c
@@ -120,8 +120,7 @@ guestfs___call_callbacks_message (guestfs_h *g, uint64_t event,
event == GUESTFS_EVENT_TRACE)
2018 Dec 07
1
Re: [PATCH nbdkit 3/5] protocol: Generate map functions from NBD protocol flags to printable strings.
On 12/6/18 3:50 PM, Richard W.M. Jones wrote:
> This generates small functions which map from various integer NBD
> protocol flags to the string equivalent.
>
> eg:
> name_of_nbd_cmd (NBD_CMD_READ)
> ---> "NBD_CMD_READ"
>
> This commit uses some hairy sed scripting to ensure that we don't add
> any more dependencies to nbdkit.
Hairy, but
2012 Oct 08
1
A printable PDF that documents centos 6.3
Hi,
Any link where I can download a printable pdf that documents centos 6.3 ?
Thanks
Kunle
2009 Jul 24
1
Search fails on underscores in quoted-printable
Hi folks,
currently I'm running Dovecot 1.2.1. Compiled from source on
Fedora 10 Linux 32 Bit (all patches). Clients are Pine 4.64,
Thunderbird 2.0.0.22 and Mutt 1.5.20 (using "=b" for server-side
searching).
When a message contains the text "under_score" and I let the
server search for it, Dovecot does not find it in messages
with a Content-Transfer-Encoding of
2014 Aug 09
0
Converting maildir files from quoted-printable to 8bit
How to easily convert maildir files from (single part) quoted-printable
to 8bit encoding? [I would like to ease access to sent/posted archives.]
2011 Sep 17
1
[PATCH 0/1] Base64-encode non-printable data
I expect this patch to require a second version. I mainly wanted to
spur discussion:
* I firmly believe hivexml needs more encoding checks before printing.
Base64 encoding made the most sense as hivexml already uses it
elsewhere. Is this the right direction to go, to escape non-printable
data?
* Should there be an enumeration for encoding decisions? I'm returning
strings because it felt a
2004 Nov 23
4
patch for replacing non-printable chars in filenames
There's a bug reported in Debian about the tty being screwed up by wierd
filenames, see http://bugs.debian.org/bug=242300
On the one hand, find will also do this. On the other hand, ls will
replace such chars with a question mark. Upon inspection, it appears to
be fairly simple to also do this in rsync (in the rwrite() function).
Here's a patch. Opinions? Perhaps don't do it
2018 Dec 06
0
[PATCH nbdkit 3/5] protocol: Generate map functions from NBD protocol flags to printable strings.
This generates small functions which map from various integer NBD
protocol flags to the string equivalent.
eg:
name_of_nbd_cmd (NBD_CMD_READ)
---> "NBD_CMD_READ"
This commit uses some hairy sed scripting to ensure that we don't add
any more dependencies to nbdkit.
---
src/protocol.h | 9 +++++++
.gitignore | 1 +
src/Makefile.am | 17
2018 Dec 06
10
[PATCH nbdkit 0/5] protocol: Generate map functions from NBD protocol flags to printable strings.
With some crufty sed scripts we can generate functions that map from
NBD protocol flags (eg. NBD_CMD_READ) to strings ("NBD_CMD_READ").
This works on GNU sed and with FreeBSD, also with GNU sed's --posix
option, so I guess the sed code is POSIX-compatible.
Rich.
2011 Sep 17
3
[PATCH 1/1] hivexml: Base64-encode non-printable data
Some of the data in names and string values were being unsafely printed,
causing some types of XML processors to fail (e.g. Python's Expat).
This patch checks for printability of each character and outputs base64
with an encoding attribute for unsafe data.
---
xml/hivexml.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 64 insertions(+), 11 deletions(-)