strings

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveInvalidUTF8Sequences added in v1.1.1

func RemoveInvalidUTF8Sequences(s string) string

func RemoveInvisibleChars

func RemoveInvisibleChars(s string) string

func ReplaceUTF8ByteSequences added in v1.1.1

func ReplaceUTF8ByteSequences(s string) string

Replaces invalid UTF-8 byte sequences from a string by their corresponding Unicode replacement character. For example: "🚩Test\xf6Test界" will become "🚩TestöTest界".

Types

This section is empty.

Jump to

Keyboard shortcuts

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