IsmaelMartinez / teams-for-linux

Unofficial Microsoft Teams for Linux client
GNU General Public License v3.0
2.9k stars 235 forks source link

Character coding mixup in filenames when saving files #1383

Closed LinAGKar closed 1 month ago

LinAGKar commented 2 months ago

Describe the bug When saving files, it seems to be getting the character coding wrong, interpreting UTF-8 filenames as latin-1. At least in DMs, I don't see the same issue in team channels. This does not happen when using Teams in Firefox.

To Reproduce Steps to reproduce the behavior:

  1. Send a file in a conversation, with a file name that contains a non-ASCII character
  2. Click the three dots and choose to download the file
  3. File has messed up filename. E.g. "ä" becomes "ä"

Expected behavior File is saved with the correct filename

Screenshots Screenshot_20240828_112228

Desktop (please complete the following information):

IsmaelMartinez commented 2 months ago

Hi @LinAGKar, to discount a flatpak configuration, can you try one of our other packaging options?

https://github.com/IsmaelMartinez/teams-for-linux/releases

It does look similar to https://github.com/IsmaelMartinez/teams-for-linux/issues/1196 . See if some of the suggestions there works for you. Hopefully they do.

LinAGKar commented 2 months ago

I do not get the same issue with the AppImage

IsmaelMartinez commented 1 month ago

that means you got an issue with the flatpak configuration. I would recommend using another packaging system, or checking in the flathub/flatpak community to see if they can help.

IsmaelMartinez commented 1 month ago

I will close this as it is a flatpak issue and I think there is little we can do from our side (I think).

This is to try to keep the backlog manageable, and because there is a workaround (not use flatpak)