added reading encodingID and langtags