Discussion: Hpricot Html Parsing
Afficher un message
Vieux 14/09/2007, 11h53   #2
Thibaut Barrère
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Hpricot Html Parsing

Hi Suja,

two suggestions:
- check the encoding used by the page you're hashpricoting (doh -
think I just invented a verb, or what).
- puts $KCODE to see if you're running in unicode or not. If you are
hashpricoting a page encoded in UTF-8, but KCODE is set to none (or if
the page is in latin1, but KCODE is set to U), then you'll have to
change the encoding using iconv for instance.

cheers

Thibaut

  Réponse avec citation
 
Page generated in 0,04044 seconds with 9 queries