Commit 3f78baa9415089598a109667de79f2ef4055cb2d

henry 2002-12-01T07:50:59

Better error handling and remove platform/encoding function