goog.i18n.uChar
Namespacegoog.i18n.uChar.LocalNameFetcher
ClassBuilds the NameFetcherLocal object. This is a simple object which retrieves character names from a local bundled database. This database only covers invisible characters. See the goog.i18n.uChar class for more details. … more
goog.i18n.uChar.NameFetcher
InterfaceNameFetcher interface. Implementations of this interface are used to retrieve Unicode character names. @interface … more
goog.i18n.uChar.RemoteNameFetcher
ClassBuilds the RemoteNameFetcher object. This object retrieves codepoint names from a remote data source. … more
.createCharData()
[protected]Sets up the character map, lazily. Some characters are indexed by their decimal value.
.fromCharCode(code)
Gets a character from the given Unicode value.
code
{number
}
string
}
.toCharCode(ch)
Gets Unicode value of the given character.
ch
{string
}
number
}
.toHexString(ch)
Gets the U+ notation string of a Unicode character. Ex: 'U+0041' for 'A'.
ch
{string
}
string
}
.toName(ch)
Gets the name of a character, if available, returns null otherwise.
ch
{string
}
string
}