Descriptiongo.text/encoding: add UTF-16 encodings.
There are some TODOs concerning the exact behavior for bad UTF-16, but
I'll address those after getting consensus on the broad-brush design.
candide-utf-16le.txt was generated by
iconv -f UTF-8 -t UTF-16LE < candide-utf-8.txt > candide-utf-16le.txt
Patch Set 1 #Patch Set 2 : diff -r 4d356e5c87fb https://code.google.com/p/go.text #Patch Set 3 : diff -r 4d356e5c87fb https://code.google.com/p/go.text #
Total comments: 10
Patch Set 4 : diff -r 4d356e5c87fb https://code.google.com/p/go.text #Patch Set 5 : diff -r 7bbea3cccbc7 https://code.google.com/p/go.text #Patch Set 6 : diff -r 7bbea3cccbc7 https://code.google.com/p/go.text #
MessagesTotal messages: 6
|