]> Cypherpunks repositories - gostls13.git/commitdiff
doc: only U+FEFF is a byte-order mark; U+FFFE is not
authorRuss Cox <rsc@golang.org>
Thu, 2 May 2013 19:01:31 +0000 (15:01 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 2 May 2013 19:01:31 +0000 (15:01 -0400)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9103046

doc/go1.1.html

index 20c7d364475d53bdf4ce530f4a50ffba7e4473e5..1ab5c173dfaf870846c11462fb8490ddcdf87487 100644 (file)
@@ -272,10 +272,10 @@ values.
 </p>
 
 <p>
-The Unicode byte order marks U+FFFE and U+FEFF, encoded in UTF-8, are now permitted as the first
+The Unicode byte order mark U+FEFF, encoded in UTF-8, is now permitted as the first
 character of a Go source file.
-Even though their appearance in the byte-order-free UTF-8 encoding is clearly unnecessary,
-some editors add them as a kind of "magic number" identifying a UTF-8 encoded file.
+Even though its appearance in the byte-order-free UTF-8 encoding is clearly unnecessary,
+some editors add the mark as a kind of "magic number" identifying a UTF-8 encoded file.
 </p>
 
 <p>