Hi,
thanks for the new version. This is much appreciated and the new options
on paper size and orientation work nicely.
One issue that I found:
When I have a Tcl script encoded in utf-8 and that script writes the
xlsx file, then umlauts come out weird. Is there an option that can
handle this or does ooxml assume or expect text input to be in a
specific encoding?
And an idea:
When formatting cells using theĀ '-style' option of the 'cell' method,
it would be cool to be able to specify more than one style (e.g. as a
list of styleIDs). Then you could have one style for font styling and
another for borders and then combine those two to get cells with a
specific font and border. Conflicting elements of two different styles
of the list could be handled so that a style later in the list would overwrite settings for the identical option in a previous style in the
list.
Regards, Torsten
* Harald Oehlmann <wortkarg3@yahoo.com>
| About the "Umlauts". This should be an internal issue. The outputted
| data is utf-8 afaik. But this is critical.
| I have tested Umlauts when reading and that works.
| I had to add an "encoding convertfrom utf-8 $data" to make it work.
Wouldn't that not also depend on how exactly the TCL script is sourced?
I.e. an tcl script containing literal utf-8 data (not the \uxxxx form)
on Windows with the default system encoding (eg cp1252) would require an explicit -encoding utf8 for the 'source' command to read it properly.
The OP did not specify what OS he was on, and how the tcl script
containing utf-8 data was sourced...
R'
Hi,
thanks for your ideas wrt. the encoding. I will investigate further and
see whether I can find the culprit. The phenomenon is found on a Windows machine running a script being utf-8 with Tcl 8.6. So, maybe this
combination is already bad (it probably is) since Windows will expect
the Tcl file tobe in cp1252 or so ...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 428 |
Nodes: | 16 (2 / 14) |
Uptime: | 107:53:22 |
Calls: | 9,053 |
Calls today: | 10 |
Files: | 13,395 |
Messages: | 6,015,806 |