Example of ICU bidi usage with C api

1k Views Asked by At

Need help with simple example using C and ICU bidi API. I am newbie in C and official documentation from ICU is hard for me to understand. I do understand that we need some kind of structure (UBiDi *pBiDi) with needed paragraph of text created before any bidi algorithm method execution (probably ubidi_setPara()).

So the question is .. could someone show me how to execute a simple example with passing string "foo ARABIC bar" to method and getting the result like "foo CIBARA bar" or something similar. Thanks in advance.

0

There are 0 best solutions below