For my website, I need to write this in one of my generated html's (dynamically, of course):
<script type="text/javascript"> var prices=[[0, '\u20ac 0'],[100, '\u20ac 100'],[150, '\u20ac 150'], [200, '\u20ac 200'],[250, '\u20ac 250'],[300, '\u20ac 300']]; </script> BTW, \u20ac represents the € symbol. Whatever I try, I can't write '\u20ac 0' dynamically. It shows up like u'\u20ac 0' or '\\u20ac 0', but never the required '\u20ac 0'. Can somebody please help me with this? Thanks, Sander. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---