Coding: htmlencoding ---decode---> unicode ----encode----> systemencoding