Latest 2017 SDK on Windows. LOFormattedTextSetPlainText and the settextwithstyle, both return error when I pass a UTF8 string with special characters. To test it, just goto the main.cpp in CreateTable sample in SDK and do the following
// Modify the “HEIGHT” cell’s text and fill color
result = LOFormattedTextSetPlainText(cell_text_ref, “HâEIGHT”); //notice the second char
You can use the windows Character Map tool to insert special characters.
It gives general_error. Is there any other API to use ? My Visual Studio setup is set for Unicode.
I need this as I am writing a layout exporter for a European client.