]> Cypherpunks repositories - gostls13.git/commitdiff
compress/testdata: remove Byte Order Mark from the Tom Sawyer data.
authorNigel Tao <nigeltao@golang.org>
Tue, 8 May 2012 00:41:45 +0000 (10:41 +1000)
committerNigel Tao <nigeltao@golang.org>
Tue, 8 May 2012 00:41:45 +0000 (10:41 +1000)
I'm not sure where the BOM came from, originally.
http://www.gutenberg.org/files/74/74.txt doesn't have it, although
a fresh download of that URL gives me "\r\n"s instead of plain "\n"s,
and the extra line "Character set encoding: ASCII". Maybe Project
Gutenberg has changed their server configuration since we added that
file to the Go repo.

Anyway, this change is just manually excising the BOM from the start
of the file, leaving pure ASCII.

R=r, bradfitz
CC=golang-dev, krasin, rsc
https://golang.org/cl/6197061

src/pkg/compress/testdata/Mark.Twain-Tom.Sawyer.txt

index 8d0ff4e65ce7ef1c2a84cce0e1014ad5e18934a7..c97da7eccf34b333e95a02fa256ba2f4413e03ba 100644 (file)
@@ -1,4 +1,4 @@
-The Project Gutenberg EBook of The Adventures of Tom Sawyer, Complete
+The Project Gutenberg EBook of The Adventures of Tom Sawyer, Complete
 by Mark Twain (Samuel Clemens)
 
 This eBook is for the use of anyone anywhere at no cost and with