We are using TS 6.5 on Solaris.
For specific reasons the generated files of one particular datatype have to be encoded in "ISO-8859-1" The default encoding of everything else has to be "UTF-8", and is set accordingly in the iwpt_compile.ipl file.
In the particular presentation template I first write everything I want to generate into a buffer, and at the end I write the buffer to my output file, using the following line:
<iw_ostream file='{iw_value name="outputLocation"/}' oenc="ISO-8859-1"/>
However, the generated file is not encoded in ISO.
I already set the default encoding to "ISO-8859-1" in the iwpt_compile.ipl file, and then the generated file is correctly encoded in ISO. But as mentioned before, all other templates have to generate "UTF-8" files, so the default has to be "UTF-8".
Has anyone used the "oenc" parameter of the tag successfully? If so, could you please give me a hint about what I might be doing wrong?
I attach the presentation template, in case anyone wants to have a closer look.
Any comments and hints are greatly appreciated.