Categories > OpenTBS with DOCX >

Again on newline

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Raffaele
Date: 2014-02-14
Time: 15:22

Again on newline

Hallo I'm using a custom php (plain mysqli) script reading values from a db.
I merge those values via the [onshow.variablename], but newline characters are being stripped.
They are present in the db (0x0d 0x0a) but missing from the final text.
Where could I look?
Thanks in advance
By: Raffaele
Date: 2014-02-14
Time: 22:56

Re: Again on newline

Single quotes (apostrophes) are stripped too.
Accented characters are kept.

Original charset of MySQL is UTF8-unicode.

If I print the values as they are retrieved, newlines and apostrophes are still there.
It seems they are lost while being handled by TBS.