Commit 7e385bd4e28a0cc12b6b26ed178c620e3c3ab8d8

Daniel Veillard 2009-08-26T11:38:49

566012 autodetected encoding and encoding conflict * encoding.c parser.c parserInternals.c: when we autodetect an encoding but it's actually not completely compatible with the one declared great care must be taken to not convert more than just the first line. Led to some refactoring, more private functions and a bit of cleanup.