Categories > OpenTBS with DOCX >


The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: lena
Date: 2016-12-04
Time: 21:21


And one more question about encoding. Russian and German words are displayed incorrectly. Are there functions with utf-encode encoding? I make my temlates with DOCX, ohne html or xml
By: Skrol29
Date: 2016-12-04
Time: 22:34

Re: encoding

Hello Lena,

There is no problem with UTF-8.
Just check that all your sources are UTF8 (database, php script, and template - but DOCX are utf-8).
Then use the command
$TBS->LoadTemplate('document.docx', OPENTBS_ALREADY_UTF8);