encode

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToASCII

func ToASCII(s string) string

ToASCII returns s with all non-ASCII characters replaced by unicode.MaxASCII.

func UTF8

func UTF8(s string) string

UTF8 encodes s into a base64 encoded ASCII string that is understandable by mail clients.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL