On 4/30/2013 4:36 PM, Nigel Tao wrote:
> On Wed, May 1, 2013 at 3:25 AM, John Nagle <
na...@animats.com> wrote:
>> I'm going back to Python until the Go crowd figures out how to parse
>> HTML.
>
> As others have said, exp/html has moved to
>
code.google.com/p/go.net/html. The exp/* packages were created before
> the go tool was invented. Now that we have that tool, it's trivial to
> install the html package:
The "html" package seems to be OK so far, except that it doesn't
understand character sets. The "h5" package was more troublesome.
There are two versions, neither of which seems to be ready for prime
time. I've stopped using it.
Has anyone implemented section 8.2.2.1 of the
HTML5 spec, "Determining the character encoding"?
Ref:
http://www.w3.org/html/wg/drafts/html/master/syntax.html#determining-the-character-encoding
(Yes, it's awful. But it's standardized, and
every browser does it.)
John Nagle