encoding in browser didnt work