Deepakchawla / Mobile-Phone-Dataset-GSMArena

Python script for creating Mobile Phones Dataset on GSMArena website.
MIT License
59 stars 46 forks source link

Unicode support missing #3

Closed rblaakmeer closed 5 years ago

rblaakmeer commented 5 years ago

The script crashes when it encounters Unicode data. Changing line 134 to with open(self.absolute_path + '/' + brand[0].title() + ".csv", "w",encoding='utf-8-sig',newline='') as file: will add Unicode support.

Deepakchawla commented 5 years ago

You can clone the repo and commit the changes and create the pull request then I will merge the code.