Commit set of charset encoding tests

Committed with 12 failures out of 60 tests. Some will continue to fail
(and will be removed). Others are legitimate failures around how
attribute parsing with newlines in the values are handled.