_urlencode in form.py now checks for None values and converts them to empty strings before calling unicode_to_str