Add a 4th parameter instead of using $charset