B: fixed encoding utf-8 problem in socket 1.0.*