Guess content encoding in a naive way