unicode urlencode function added and fixes