Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/charmap: avoid error when rune is not supported
Previously, using writer, if rune is not supported then error "encoding: rune not supported by encoding." is triggered. This change avoid the error and doesn't write the unsupported character if new exported variable EmptyUnsupportedRune is true