wpm icon indicating copy to clipboard operation
wpm copied to clipboard

utf-8 not working on custom json file

Open decrecementofeliz opened this issue 3 years ago • 0 comments

Hi, I'm trying to load a json file with my custom quotes, but I get this error Could not read JSON file: 'utf8' codec can't decode byte 0xe1 in position 59: invalid continuation byte I've tried different export and encoding options when creating the file, but I can't make it work keeping characters like ñ or Á, etc

Example of my quotes:

[
  {
    "author": "Refraneiro Galego",
    "title": "Refrán",
    "text": "Inda o demo ten cara de coello!",
  },
  {
    "author": "Refraneiro Galego",
    "title": "Refrán",
    "text": "Máis vale pillo que pillado!",
  }
]

Can you help me?

Also, it would be great if people could add quotes collections to this repository and that they could be selected from the app (like 'Movie quotes' or 'Philsophy quotes' or in this case 'Galicians proverbs')

Thanks!

decrecementofeliz avatar Oct 09 '20 19:10 decrecementofeliz