Metti utf8 come charset e lascia perdere htmlentities.