TinyButStrong - the PHP Template Engine
Categories > OpenTBS with ODS >

Superscript chars ² and ³ result in corrupt file

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Edwin Stas
Date: 2014-10-10
Time: 10:58

Superscript chars ² and ³ result in corrupt file

When using superscript chars with onload the output gets corrupted.
U can test this with the demo provided with the script. Just enter something like cm² and generate an ODS file.

Is there a workaround for this problem?
By: Edwin Stas
Date: 2014-10-10
Time: 11:13

Re: Superscript chars ² and ³ result in corrupt file

So I found the solution form my problem. Using strconv=utf8 solved it.

I find it strange because this was not necessary for xmlx