user769498
user769498

Reputation: 145

Django RSS-feed escaping €

I've made a rss-feed in django and i wish to turn € into €. I already use |escape to escape link tags and such. But somehow |escape doesn't work on €.

Does anybody now a way to also escape € ?

Upvotes: 2

Views: 223

Answers (1)

Nick Craig-Wood
Nick Craig-Wood

Reputation: 54117

€ is a perfectly valid utf-8 character. You are almost certainly creating utf-8 output, therefore it doesn't need escaping.

Upvotes: 5

Related Questions