force encoding to binary