PHP Classes

Special characters

Recommend this page to a friend!

      PHP Template Docx  >  All threads  >  Special characters  >  (Un) Subscribe thread alerts  
Subject:Special characters
Summary:Special characters not working
Messages:5
Author:j. Bohnenn
Date:2014-03-19 07:27:30
Update:2014-03-19 13:26:11
 

  1. Special characters   Reply   Report abuse  
Picture of j. Bohnenn j. Bohnenn - 2014-03-19 07:27:31
Hi there,
first of all, you made a very nice class.
When I use a word template with special characters (like ï) inside.
I can not open the word doc because he says it is corrupted?
Do you know a way to use special characters in the template?

Hope to hear from you.

Kind Regard Jeroen

  2. Re: Special characters   Reply   Report abuse  
Picture of Raskin Veniamin Raskin Veniamin - 2014-03-19 12:26:32 - In reply to message 1 from j. Bohnenn
Hi.
What you use the encoding?

  3. Re: Special characters   Reply   Report abuse  
Picture of Raskin Veniamin Raskin Veniamin - 2014-03-19 12:31:33 - In reply to message 1 from j. Bohnenn
Try set option NewDocTemplatingParser::$useUtf = false

  4. Re: Special characters   Reply   Report abuse  
Picture of j. Bohnenn j. Bohnenn - 2014-03-19 13:15:19 - In reply to message 3 from Raskin Veniamin
when I set the option to false it worked!
Thanks a lot

  5. Re: Special characters   Reply   Report abuse  
Picture of Raskin Veniamin Raskin Veniamin - 2014-03-19 13:26:11 - In reply to message 4 from j. Bohnenn
All right. Good luck