Input data samples The easiest way to map data is to take a snap-shot of the actual input, create a sample of the input data, and load the sample into the PageIN tool. The mapping is done by drawing rectangles around the displayed text segments. UTF-8 encoding in the sample file Use UTF-8 encoding in the input sample file. If you do not, you may run into problems with special characters etc. 1 Open the file in Notepad. 2 Enter //!codepage UTF-8! as the first line. 3 Use Save As and encoding UTF-8 to save the file.