thanks for the tip it was just a copy paste from the address bar though so i got the url encoding for free