Skip to Content

Simple transformation tt: utf-16 to utf-8 encoding

Hi,

I have a simple transformation the results of which are written to a file using open dataset. The XML in the file is appearing with encoding utf-16 but I need utf-8. I tried placing the following line in the transformation but it did not work:

<xsl:output encoding="utf-8"/>

The only way it works is if I use type xstring for the result of the transformation and not string. I then have to convert the xml from xstring to string before writing to the file. This works but I was wondering if there was an easier way to change the encoding of a simple transformation (tt:) ?????????

Che

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on May 05, 2011 at 11:11 AM

    ?

    Add comment
    10|10000 characters needed characters exceeded