Starting work on internal text editor

Using the GUI's text editor in hopes that I can specify the encoding
type.