encode url for input
Add default 0 for numbers