Charset issues with magic quotes