Added encoding="cp1252" to reduce the warnings on travis-ci when the tests are compiled. We currently have some XML content using characters from this codepage. In future we may prefer a more elegant solution to having in-memory test data in various formats.