[Tutor] File encoding strategy question

Andrew Robert andrew.arobert at gmail.com
Sat May 20 23:43:43 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

I am in the process of creating a file transmit/receiver program using
MQSeries.

The way it works is through creation of an XML message.

Elements within the XML message contain things such as file name, size,
and the file contents.

The file contents are encoded, currently using Base64, for support of
both binary and text data.

This works great but there is a small rub to the problem.

I would like to be able to view the contents of the file if it is text
while still maintaining the ability to transmit binary data.

Does anyone know of an encoding format that would make this possible?

The viewing of the file contents does not need to be perfect, merely
enough that a particular in-transit file could be identified.

Thoughts on this would be greatly appreciated.


- --
Thank you,
Andy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEb42PDvn/4H0LjDwRAq7DAKC4o5NwKOx9vDYB71C0hcoRiyDIuQCgrQVE
4s4r2BnmgAR728PuZow6vHU=
=RT23
-----END PGP SIGNATURE-----


More information about the Tutor mailing list