respect encoding in debugSource