Linux Convert Text Encoding Methods In Python Dictionary