FriBiDi is a free implementation of the »  Unicode Bidirectional Algorithm.