problem about encoding