ENCODING PROBLEM AGAIN