Fix encodings for friends