Default FG text file encoding is UTF-8. Files encoded in others character sets must explicitly set the encoding - otherwise text decoding (and XML parsing) may fail.