1. A computer-implemented method for searching an electronic document that includes a non-coded representation of characters of text, the method comprising: receiving text coding information identifying each of a plurality of characters of text represented by the non-coded representation; based on the text coding information, generating a coded representation that: specifies, for each of the plurality of characters of text represented by the non-coded representation, a respective code value based on a character encoding, the code value selected to represent the respective character of text, and associates a particular glyph from a collection of glyphs with each of the code values specified for the plurality of characters of text, the particular glyph selected independently of any relation to the respective character of text, the collection of glyphs being insufficient to semantically represent the plurality of characters of text; associating the coded representation with the non-coded representation, wherein a code value of one of the plurality of characters of text is associated with one or more positions in a visual representation of the non-coded representation; displaying the visual representation of the non-coded representation; searching the coded representation to find a coded character sequence that includes one or more characters at a location in the coded representation; and highlighting, in the displayed visual representation of the non-coded representation, the portion of the non-coded visual representation associated with the coded character sequence at the location in the coded representation.