| 
	
		
		
		
		
		 
			
			The original error is a UnicodeEncode Error which implies that the string being encoded/decoded most definitely does not have only ascii chars.  
 
Assuming the url template itself does not contain non ascii chars, the code I last posted will result in a  URL with only ascii chars.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 |