Re: [xslt] Abt UTF-8 encoding in libxslt



On Thu, Sep 28, 2006 at 09:05:51AM -0400, Daniel Veillard wrote:
> On Thu, Sep 28, 2006 at 06:21:15PM +0530, bhushan wrote:
> > hello friends,
> > I have use example code in libxslt library which convert
> > xml to some other format using xslt file as input.
> > So my question is default encoding for resultant
> > format which i need to be UTF-8 so
> > weather i need to take care of that in C code OR
> > i just need to change XSLT file
> > please tell me what to do?
> 
>   Read the spec, it's defined there:
>     http://www.w3.org/TR/xslt#section-Text-Output-Method

  and libxslt default is UTF-8 , since that's libxml2 internal encoding
    http://xmlsoft.org/encoding.html#internal

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]