This allows to decode text data we receive from external process which uses external encoding to our internal encoding.