finishing first draft of character encoding subsection.