Update utf8reader.go
This commit is contained in:
parent
9bf2046a64
commit
79a7fa55ee
|
@ -117,7 +117,7 @@ func (b *Reader) ReadData() (line string, err error) {
|
|||
line = string(b.buf[b.r : b.r+index])
|
||||
b.r += index
|
||||
} else {
|
||||
panic("known error")
|
||||
panic("no utf8 char found")
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue