respect encodings for debug sourcing if specified