add utf-8 encodings and fix direp-details-mode flag