unicodeutil

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Apostrophe                             = "'"
	ApostropheName                         = "Apostrophe"
	ApostropheNamePostscript               = "quotesingle"
	ApostropheUTF16Encoding                = 0x0027
	QuotationMark                          = "\""
	QuotationMarkName                      = "Quotation Mark"
	QuotationMarkNamePostscript            = "quotedbl"
	QuotationMarkUTF16Encoding             = 0x0022
	LeftDoubleQuotationMark                = `“`
	LeftDoubleQuotationMarkName            = "Left Double Quotation Mark"
	LeftDoubleQuotationMarkNamePostscript  = "quotedblleft"
	LeftDoubleQuotationMarkUTF16Encoding   = 0x201C
	LeftDoubleQuotationMarkURLCompart      = "https://www.compart.com/en/unicode/U+201C"
	RightDoubleQuotationMark               = `”`
	RightDoubleQuotationMarkName           = "Right Double Quotation Mark"
	RightDoubleQuotationMarkNamePostscript = "quotedblright"
	RightDoubleQuotationMarkUTF16Encoding  = 0x201D
	RightDoubleQuotationMarkURLCompart     = "https://www.compart.com/en/unicode/U+201D"
)

Variables

This section is empty.

Functions

func Unescape

func Unescape(s string) (string, error)

Unescape wraps the `strconv.Unquote()` function to provide a method of converting \u escaped unicode literals.

Types

This section is empty.

Jump to

Keyboard shortcuts

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