Process a string of text and return a new string with the correct bidi ordering. Follows https://www.unicode.org/reports/tr9/#Basic_Display_Algorithm as closely as possible. Some things are not implemented, such as:
input unicode buffer
Process a string of text and return a new string with the correct bidi ordering. Follows https://www.unicode.org/reports/tr9/#Basic_Display_Algorithm as closely as possible. Some things are not implemented, such as: