I set up an AI assistant so that it would take a link from Google Docs from a Telegram bot, download it via HTTP, get the file, and then upload it to Dropbox. It works in general, but at the end it writes the file name in the wrong encoding. Initially, the file name is “Hi. How are u”. And at the end “UTF-8’'Hi.%20How%20are%20u.docx”. In general, how to fix this encoding or text in Make?
Google Drive File Encoding Issue
There is an encoding issue when downloading certain files from Google Drive.
I have mentioned more details, and a possible workaround for this here: Read text in .txt file stored in google drive - #4 by samliew
You can try using a “Convert encoding” module using the same input and output encoding, then you can use the output of this module in a subsequent module (like Parse CSV or JSON).
Alternatively, you can simply try using the toString built-in function in the mapped field, something like this: toString(data) – however this method doesn’t work in some cases where the encoding actually has to be converted.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew





