Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(539)

Issue 27110043: code review 27110043: go.net/html/charset: new package (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by andybalholm
Modified:
11 years, 4 months ago
Reviewers:
nigeltao
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

go.net/html/charset: new package Implement retrieving encodings by name, according to the names listed at http://encoding.spec.whatwg.org/#encodings This is the first step toward implementing the encoding detection algorithm.

Patch Set 1 #

Patch Set 2 : diff -r 75017ecb835f https://code.google.com/p/go.net #

Patch Set 3 : diff -r 75017ecb835f https://code.google.com/p/go.net #

Total comments: 23

Patch Set 4 : diff -r 75017ecb835f https://code.google.com/p/go.net #

Total comments: 18

Patch Set 5 : diff -r 75017ecb835f https://code.google.com/p/go.net #

Patch Set 6 : diff -r 75017ecb835f https://code.google.com/p/go.net #

Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -0 lines) Patch
A html/charset/encoding.go View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A html/charset/encoding_test.go View 1 2 3 4 1 chunk +103 lines, -0 lines 0 comments Download
A html/charset/gen.go View 1 2 3 4 1 chunk +107 lines, -0 lines 0 comments Download
A html/charset/table.go View 1 2 3 4 5 1 chunk +232 lines, -0 lines 0 comments Download

Messages

Total messages: 8
andybalholm
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, nigeltao@golang.org), I'd like you to review this change to https://code.google.com/p/go.net
11 years, 4 months ago (2013-11-16 00:38:57 UTC) #1
nigeltao
https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding.go File html/charset/encoding.go (right): https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding.go#newcode1 html/charset/encoding.go:1: // The charset package helps consumers of HTML to ...
11 years, 4 months ago (2013-11-16 02:31:46 UTC) #2
nigeltao
https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding.go File html/charset/encoding.go (right): https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding.go#newcode55 html/charset/encoding.go:55: "unicode-1-1-utf-8": utf8Encoding{}, Specifically, http://encoding.spec.whatwg.org/encodings.json https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding_test.go File html/charset/encoding_test.go (right): https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding_test.go#newcode8 ...
11 years, 4 months ago (2013-11-16 02:35:32 UTC) #3
andybalholm
PTAL. https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding.go File html/charset/encoding.go (right): https://codereview.appspot.com/27110043/diff/40001/html/charset/encoding.go#newcode1 html/charset/encoding.go:1: // The charset package helps consumers of HTML ...
11 years, 4 months ago (2013-11-16 18:33:10 UTC) #4
nigeltao
https://codereview.appspot.com/27110043/diff/50001/html/charset/encoding.go File html/charset/encoding.go (right): https://codereview.appspot.com/27110043/diff/50001/html/charset/encoding.go#newcode3 html/charset/encoding.go:3: // The mapping from encoding names (and their aliases) ...
11 years, 4 months ago (2013-11-18 04:16:18 UTC) #5
andybalholm
PTAL. https://codereview.appspot.com/27110043/diff/50001/html/charset/encoding.go File html/charset/encoding.go (right): https://codereview.appspot.com/27110043/diff/50001/html/charset/encoding.go#newcode3 html/charset/encoding.go:3: // The mapping from encoding names (and their ...
11 years, 4 months ago (2013-11-18 17:01:27 UTC) #6
nigeltao
LGTM. Thanks for your patience with my nit-picking.
11 years, 4 months ago (2013-11-19 10:49:31 UTC) #7
nigeltao
11 years, 4 months ago (2013-11-19 10:53:15 UTC) #8
*** Submitted as
https://code.google.com/p/go/source/detail?r=c31ae4e5b710&repo=net ***

go.net/html/charset: new package

Implement retrieving encodings by name, according to the names listed
at http://encoding.spec.whatwg.org/#encodings

This is the first step toward implementing the encoding detection
algorithm.

R=nigeltao
CC=golang-dev
https://codereview.appspot.com/27110043

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b