PHP class to get Japanese encoding