memcode icon indicating copy to clipboard operation
memcode copied to clipboard

csv import of Cyrillic characters breaks encoding

Open fetsorn opened this issue 1 year ago • 5 comments

Reproduce

Upload a csv file with Cyrillic characters

english,russian
word,слово

Memcode creates a card

word - слово

fetsorn avatar Jan 29 '25 09:01 fetsorn

Excel&CSV tend to have issues with encoding. We just deployed plain-text imports, this should fix the issue with Cyrillic text.

Image

lakesare avatar Aug 29 '25 04:08 lakesare

tested yesterday and still can reproduce the same issue exactly the same. the bug persists. file is utf-8 according to file -i.

fetsorn avatar Aug 30 '25 16:08 fetsorn

Sorry for confusing wording - I meant to say that our new "import flashcards from plain text" functionality probably solves your issue with CSV/Excel file encodings, because now you can simply copypaste your CSV file into the "Create flashcards from text" section, which shouldn't have any issues with encoding.

Can you check if that works for you?

lakesare avatar Aug 30 '25 22:08 lakesare

yes, copypasting plain text creates flashcards correctly. requires copying and rewriting the file to the pipe-separated format though. thanks

file import is a "won't fix" then?

if you think it's a bug in some dependency, please say and I'll report there

fetsorn avatar Aug 31 '25 08:08 fetsorn

Someone might fix it, let's leave the issue open

lakesare avatar Sep 01 '25 22:09 lakesare