| Name | <ElementTag.text_encode[<encoding>]> | 
| Returns | BinaryTag | 
| Description | Converts the text to a binary representation encoded using the specified encoding method. Input can be for example "utf-8" or "iso-8859-1". "encoding" label corresponds to the standard charset names listed at https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html, or any other charsets added by your Java environment. See also BinaryTag.text_decode | 
| Example |  | 
| Group | conversion | 
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2357 |