public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* A change to string encoding
@ 2009-03-10 11:07 Matthew Booth
  2009-03-10 15:58 ` Steve Grubb
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Matthew Booth @ 2009-03-10 11:07 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 1017 bytes --]

The problem with current string encoding is that it is parsable, but
non-human readable. It also complicates parsing by requiring 2 different
decoding methods to be implemented.

It occurs to me that a URL encoding scheme would also meet the parsing
requirements. Additionally:

1. It is always human readable.
2. There is only 1 encoding scheme.
3. Substring matching on encoded strings will always succeed.

URL encoding is just one way to achieve this, and has the advantage of
being widely implemented. However, the minimal requirements would be a
scheme which encoded only separator characters (whitespace in this case)
without the use of those separators.

I'm sure this has been considered before. Given that it's a road I'm
considering heading down, what were the reasons for not doing it?

Thanks,

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat, Global Professional Services

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-10 19:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10 11:07 A change to string encoding Matthew Booth
2009-03-10 15:58 ` Steve Grubb
2009-03-10 18:13   ` Matthew Booth
2009-03-10 19:55   ` John Dennis
2009-03-10 16:22 ` Tomas Mraz
2009-03-10 18:51 ` Eric Paris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox