utf 8 - Marmalade. Read string from UTF-8 encoded text file and draw it with IwGxFont -


now use drawing this

    char str[10];     strcpy(str, "str");     ciwgxfontprepareddata data;      data.clear();     iwgxfontpreparetext(data, str);     iwgxfontsetrect(ciwrect(10, 10, iw2dgetsurfacewidth(), iw2dgetsurfacewidth()));     iwgxfontdrawtext(data);           data.clear();     iwgxfontpreparetext(data, "const literal");     iwgxfontsetrect(ciwrect(10, 200, iw2dgetsurfacewidth(), iw2dgetsurfacewidth()));     iwgxfontdrawtext(data);      data.clear(); 

but want render strings loaded utf-8 file. marmalade have possibility read string utf-8 encoded text file , draw iwgxfont?

as far see in documentation s3efile api doesn't containt functionality reading utf8 strings file.

can show me small example or give me right direction?

thanks.

i have used utf8 strings , there nothing it. utf8 iwgxfontpreparetext expects. read utf8 string char buffer , should work fine.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -