I try to use the Unicode bidi algorithm from unicode.org/reports/tr9/. There is an implementation in Go at golang.org/x/text/unicode/bidi. This implementation has a limited