Directories ¶
Path | Synopsis |
---|---|
Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8.
|
Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8. |
charmap
Package charmap provides simple character encodings such as IBM Code Page 437 and Windows 1252.
|
Package charmap provides simple character encodings such as IBM Code Page 437 and Windows 1252. |
ianaindex
Package ianaindex maps names to Encodings as specified by the IANA registry.
|
Package ianaindex maps names to Encodings as specified by the IANA registry. |
internal
Package internal contains code that is shared among encoding implementations.
|
Package internal contains code that is shared among encoding implementations. |
internal/identifier
Package identifier defines the contract between implementations of Encoding and Index by defining identifiers that uniquely identify standardized coded character sets (CCS) and character encoding schemes (CES), which we will together refer to as encodings, for which Encoding implementations provide converters to and from UTF-8.
|
Package identifier defines the contract between implementations of Encoding and Index by defining identifiers that uniquely identify standardized coded character sets (CCS) and character encoding schemes (CES), which we will together refer to as encodings, for which Encoding implementations provide converters to and from UTF-8. |
japanese
Package japanese provides Japanese encodings such as EUC-JP and Shift JIS.
|
Package japanese provides Japanese encodings such as EUC-JP and Shift JIS. |
korean
Package korean provides Korean encodings such as EUC-KR.
|
Package korean provides Korean encodings such as EUC-KR. |
simplifiedchinese
Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
|
Package simplifiedchinese provides Simplified Chinese encodings such as GBK. |
traditionalchinese
Package traditionalchinese provides Traditional Chinese encodings such as Big5.
|
Package traditionalchinese provides Traditional Chinese encodings such as Big5. |
unicode
Package unicode provides Unicode encodings such as UTF-16.
|
Package unicode provides Unicode encodings such as UTF-16. |
unicode/utf32
Package utf32 provides the UTF-32 Unicode encoding.
|
Package utf32 provides the UTF-32 Unicode encoding. |
Package internal contains non-exported functionality that are used by packages in the text repository.
|
Package internal contains non-exported functionality that are used by packages in the text repository. |
catmsg
Package catmsg contains support types for package x/text/message/catalog.
|
Package catmsg contains support types for package x/text/message/catalog. |
cldrtree
Package cldrtree builds and generates a CLDR index file, including all inheritance.
|
Package cldrtree builds and generates a CLDR index file, including all inheritance. |
colltab
Package colltab contains functionality related to collation tables.
|
Package colltab contains functionality related to collation tables. |
export/idna
Package idna implements IDNA2008 using the compatibility processing defined by UTS (Unicode Technical Standard) #46, which defines a standard to deal with the transition from IDNA2003.
|
Package idna implements IDNA2008 using the compatibility processing defined by UTS (Unicode Technical Standard) #46, which defines a standard to deal with the transition from IDNA2003. |
format
Package format contains types for defining language-specific formatting of values.
|
Package format contains types for defining language-specific formatting of values. |
gen
Package gen contains common code for the various code generation tools in the text repository.
|
Package gen contains common code for the various code generation tools in the text repository. |
number
Package number contains tools and data for formatting numbers.
|
Package number contains tools and data for formatting numbers. |
stringset
Package stringset provides a way to represent a collection of strings compactly.
|
Package stringset provides a way to represent a collection of strings compactly. |
tag
Package tag contains functionality handling tags and related data.
|
Package tag contains functionality handling tags and related data. |
testtext
Package testtext contains test data that is of common use to the text repository.
|
Package testtext contains test data that is of common use to the text repository. |
triegen
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes.
|
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes. |
ucd
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/.
|
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/. |
utf8internal
Package utf8internal contains low-level utf8-related constants, tables, etc.
|
Package utf8internal contains low-level utf8-related constants, tables, etc. |
Package runes provide transforms for UTF-8 encoded text.
|
Package runes provide transforms for UTF-8 encoded text. |
Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations.
|
Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations. |
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in golang.org/x/text, layout engines, or are otherwise more low-level in nature.
|
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in golang.org/x/text, layout engines, or are otherwise more low-level in nature. |
bidi
Package bidi contains functionality for bidirectional text support.
|
Package bidi contains functionality for bidirectional text support. |
cldr
Package cldr provides a parser for LDML and related XML formats.
|
Package cldr provides a parser for LDML and related XML formats. |
norm
Package norm contains types and functions for normalizing Unicode strings.
|
Package norm contains types and functions for normalizing Unicode strings. |
rangetable
Package rangetable provides utilities for creating and inspecting unicode.RangeTables.
|
Package rangetable provides utilities for creating and inspecting unicode.RangeTables. |
runenames
Package runenames provides rune names from the Unicode Character Database.
|
Package runenames provides rune names from the Unicode Character Database. |
Click to show internal directories.
Click to hide internal directories.