[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: caratteri accentiti -> html



Il Sat, 15 Jun 2013 19:28:14 +0200, MaX ha scritto:

> mi chiedevo se esiste un comando tipo iconv che converta i caratteri
> accentati come mer esempio á  nel formato á

#!/usr/bin/env php
<?php
 print htmlentities($argv[0], ENT_NOQUOTES, 'UTF-8');


Ho provato a fare un crawler in bash, e ti consiglio caldamente di farlo 
in PHP, non solo per le entities, ma anche per la gestione degli array, 
per le capacità di elaborazione dell'HTML e per le prestazioni. :)

Bye.



Reply to: