Changes:

More encoding work,
Added chinese version of "trime" to test encoding
(BTW, once scanline_encoding() is complete, it will overwrite
scanline())