Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToISO8859_1 ¶
ToISO8859_1 encodes the provided utf8String to the ISO8859_1 encoding. The result is returned as byte slice. Any error from the encoder will cause a panic.
This function hasn't change its signature as it is used in almost any package. To address the issues with panicing errors this package will most likely get a new encoding function which return possible encoding errors.
func ToUTF8 ¶
ToUTF8 decodes the provided buffer from the ISO8859_1 encoding to UTF8. The result is returned as string. Any error from the decoder will cause a panic.
This function hasn't change its signature as it is used in almost any package. To address the issues with panicing errors this package will most likely get a new decoding function which return possible decoding errors.
Types ¶
This section is empty.