Skip to content Skip to sidebar Skip to footer

Scrapy On Arabic Letters Returns Something Strange

I am using scrapy on arabic letters and english letters. The english letters work perfectly. However, the arabic letters shows like this: gs300 2006 \u0644\u0643\u0632\u0633 \u06

Solution 1:

The strings \u0000 are Unicode code points. Each represents a single character (e.g. \u064a represents yeh). To convert these characters into something more useful, you will have to use encode and decode to handle Unicode strings properly.


Post a Comment for "Scrapy On Arabic Letters Returns Something Strange"