jameskokoska / Cashew

💸 An app created to help users manage a budget and purchases
https://cashewapp.web.app/
GNU General Public License v3.0
1.89k stars 252 forks source link

[Bug] Emoji corrupted in CSV export #526

Closed awwRoar closed 3 days ago

awwRoar commented 4 days ago

Describe the bug Hi. The emojis in CSV export appear as Chinese characters (sometimes Greek). Does not happen with all of them, some emojis are rarely spared.

How to reproduce Create transaction titles with emoji -> Export CSV I'm attaching a sample CSV I just exported and corresponding screenshots of what it looked like in the app.

Screenshots/videos Screenshot_2024-11-21-02-22-29-461_com budget tracker_app Screenshot_2024-11-21-02-22-34-401_com budget tracker_app

CSV here: cashew-2024-11-21-02-20-28-479900.csv

Details

jameskokoska commented 3 days ago

I am able to view each entry correctly (with the sample CSV attached to this issue). Make sure your CSV viewer supports UTF-8 encoding. image