Hello folks,
I’ve successfully built the examples from
http://xmlsoft.org/tutorial/index.html, except the last one about encoding
conversion.
I added printouts to the original code to help (see below) and get:
10:51:35 (250) menu@ - ~/libxml2-git > ./EncodingConversionExample foo
--> content =
I use:
13:07:34 (254) menu@ - ~/libxml2-git > apt list libxml2 libxml2-dev
Listing... Done
libxml2/stable,now 2.9.1+dfsg1-5 i386 [installed,automatic]
libxml2-dev/stable,now 2.9.1+dfsg1-5 i386 [installed]
on Debian 8 32bit (jessie)
JM
> Le 25 nov. 2015 à 11:17, Menu Jacques a
17
--> temp = 8
--> temp-size+1 = 0
conversion wasn't successful.
--> out = (null)
I’m clearly doing something wrong, but what?
JM
> Le 25 nov. 2015 à 13:08, Menu Jacques a écrit :
>
> I use:
>
> 13:07:34 (254) menu@ - ~/libxml2-git > apt list libxml2 l
content\n", argv[0]);
return(0);
}
printf("--> encoding = %s\n", encoding);
content = argv[1];
printf("--> content = %s\n", content);
out = convert(content, encoding);
printf("--> out = %s\n", out);
doc = xmlNewDoc (&qu
Hello Stéphane,
It looks like you didn’t replace the descriptions placed between angle brackets
such as:
> --prefix=
> --with-python=
by actual meaningful values such as /users/stephane or /usr/bin respectively.
Regards,
--
Jacques Menu
Ch. de la Pierre 12
1023 Crissier
mailto:imj-...@bluew