TextEncoding; use webkitURL instead of URL on Safari