dasmer / piatto

Piatto is a CSV to HTML Restaurant Menu Generator
32 stars 13 forks source link

Support for emojis 🙏 #1

Closed gogl92 closed 11 months ago

gogl92 commented 4 years ago

I wanted to add emojis to the CSV file but I got this exception.

Traceback (most recent call last):
  File "piatto.py", line 12, in <module>
    for item in csv:
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/csv.py", line 108, in next
    row = self.reader.next()
UnicodeEncodeError: 'ascii' codec can't encode characters in position 136-139: ordinal not in range(128)

Any ideas? Really simple and useful project though.

Thanks

enric1994 commented 4 years ago

Hey! We just released CSV2Menu inspired by Piatto. Check it out! https://github.com/enric1994/csv2menu We support emojis, allergens and calories!

gogl92 commented 11 months ago

I know this was like 3 years ago but I tested it now and it's working!