On Thu, Sep 27, 2018 at 02:22:55PM +0200, Nick Wellnhofer wrote:
> On 27/09/2018 10:59, Roumen Petrov wrote:
> > Let consider case as "file" mode.
>
> > Let consider case as "stream" code.
>
> I'm not only talking about xmllint but the serialization API (xmlSave*,
> xmlNodeDump*) in general.
>
On Tue, Sep 25, 2018 at 01:19:51PM +0200, Nick Wellnhofer wrote:
> libxml2 serializes documents without an encoding declaration differently
> than documents with an explicit UTF-8 encoding:
>
> $ echo 'Käse' |xmllint -
>
> Kse
>
> $ echo 'Käse' |xmllint -
>
> Käse
>
> Since the encoding
Sorry I ddin't watch my xml folder for a while ... a bit busy
On Sat, Oct 06, 2018 at 07:32:00PM +0300, Roumen Petrov wrote:
> Hi Nick,
>
> Nick Wellnhofer wrote:
> > On 25/09/2018 14:36, Nick Wellnhofer wrote:
> > > The whole situation is a mess. I'd love to change the code so that
> > >
Hi Nick,
Nick Wellnhofer wrote:
On 25/09/2018 14:36, Nick Wellnhofer wrote:
The whole situation is a mess. I'd love to change the code so that
non-ASCII chars are always encoded as UTF-8, but I'm scared to break
things.
Long time ago I did some test with html -
On 25/09/2018 14:36, Nick Wellnhofer wrote:
The whole situation is a mess. I'd love to change the code so that non-ASCII
chars are always encoded as UTF-8, but I'm scared to break things.
This is the change I have in mind:
On 27/09/2018 10:59, Roumen Petrov wrote:
Let consider case as "file" mode.
Let consider case as "stream" code.
I'm not only talking about xmllint but the serialization API (xmlSave*,
xmlNodeDump*) in general.
Now about above test samples . if content is stored in file xmllint works fine
Hi Nick,
Hi,
Nick Wellnhofer wrote:
libxml2 serializes documents without an encoding declaration
differently than documents with an explicit UTF-8 encoding:
$ echo 'Käse' |xmllint -
Kse
$ echo 'Käse' |xmllint -
Käse
Since the encoding should default to UTF-8, can anyone explain why
this
On 25/09/2018 13:19, Nick Wellnhofer wrote:
libxml2 serializes documents without an encoding declaration differently than
documents with an explicit UTF-8 encoding:
It seems that this was partially changed in 2005 with the following commit:
libxml2 serializes documents without an encoding declaration differently than
documents with an explicit UTF-8 encoding:
$ echo 'Käse' |xmllint -
Kse
$ echo 'Käse' |xmllint -
Käse
Since the encoding should default to UTF-8, can anyone explain why this
decision was made?
Nick