Re: Urlencode vs. iriencode

2010-09-05 Thread Sam Lai
On 5 September 2010 16:18, Jordon Wii wrote: > Awesome, thank you.  So as far as escaping user-entered data for use > in URLs...urlencode is best? I'd say so. I haven't really found a need for iriencode personally, and from the code, it seems that urlencode does everything

Re: Urlencode vs. iriencode

2010-09-05 Thread Jordon Wii
Awesome, thank you. So as far as escaping user-entered data for use in URLs...urlencode is best? On Sep 4, 8:45 pm, Sam Lai wrote: > Here's the code for the two (the numbers at the start of each line are > just line numbers from the file) - > > iriencode: > 128     """ >

Re: Urlencode vs. iriencode

2010-09-04 Thread Sam Lai
Here's the code for the two (the numbers at the start of each line are just line numbers from the file) - iriencode: 128 """ 129 Convert an Internationalized Resource Identifier (IRI) portion to a URI 130 portion that is suitable for inclusion in a URL. 131 132 This is the

Re: Urlencode vs. iriencode

2010-09-04 Thread Jordon Wii
Anyone? I haven't found anything that describes the difference (except that one is for URI's and the other for URLs). On Sep 4, 8:52 am, Jordon Wii wrote: > What's the difference between the template filters urlencode and > iriencode?  When should I use one over the other

Urlencode vs. iriencode

2010-09-04 Thread Jordon Wii
What's the difference between the template filters urlencode and iriencode? When should I use one over the other (or use both)? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com.