  We discuss properties of probabilistic coding of two qubits to one qutrit and
generalize the scheme to higher dimensions. We show that the protocol
preservers entanglement between qubits to be encoded and environment and can be
also applied to mixed states. We present the protocol which enables encoding of
n qudits to one qudit of dimension smaller than the Hilbert space of the
original system and then probabilistically but error-free decode any subset of
k qudits. We give a formula for the probability of successful decoding.
