You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RuneReader interface documentation states that RuneRead() reads a single UTF-8 encoded Unicode character but this depend on the implementation. It seems reasonable to make RuneReader interface generic so a UTF-16 implementation is possible.
I propose to drop "UTF-8" from the docs:
RuneReader is the interface that wraps the ReadRune method.
ReadRune reads a single encoded Unicode character and returns the rune and its size in bytes. If no character is available, err will be set.
The text was updated successfully, but these errors were encountered:
The RuneReader interface documentation states that
RuneRead()
reads a single UTF-8 encoded Unicode character but this depend on the implementation. It seems reasonable to makeRuneReader
interface generic so a UTF-16 implementation is possible.I propose to drop "UTF-8" from the docs:
The text was updated successfully, but these errors were encountered: