Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
需要使用 C 和 ICU bidi API 的简单示例的帮助。我是 C 的新手,ICU 的官方 文档对我来说很难理解。我明白我们需要某种结构(UBiDi *pBiDi),在执行任何双向算法方法(可能ubidi_setPara())之前创建所需的文本段落。
UBiDi *pBiDi
ubidi_setPara()
所以问题是..有人可以告诉我如何执行一个简单的例子,将字符串传递"foo ARABIC bar"给方法并获得类似"foo CIBARA bar"或类似的结果。提前致谢。
"foo ARABIC bar"
"foo CIBARA bar"