Eli, I suspect that this call to CHAR_TO_BYTE in bidi_resolve_explicit_1 is redundant; can you check that? Thanks, Dmitry