sebseager / slack-exporter

A Slack bot for exporting content from public and private channels.
GNU General Public License v3.0
132 stars 36 forks source link

fixed bug with UnicodeEncodeError when pull history in text format with output directory #19

Closed rudenkom8 closed 1 year ago

rudenkom8 commented 1 year ago

This happened when I tried to pull message history in text format with an output directory.

Exception message: UnicodeEncodeError: 'charmap' codec can't encode characters in position 344-349: character maps to

After these changes everything worked correctly.