Hi,
On 2017-03-19 17:41, Eric S. Eberhard wrote:
[linking]
Here is the output of ldd:
$ ldd aph
linux-vdso.so.1 => (0x7ffda799)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2
(0x7f851affb000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f851ac32000)
libdl.so.2
Hi all,
Am having problems with encoding and conversion.
When I try this example as is:
http://xmlsoft.org/tutorial/aph.html
I get this output:
| conversion wasn't successful.
and when I change from "ISO-8859-1" to "CP850" (which is what I want to
use), it seg faults.
I assume the problem is
Hello all,
I would like to use libxml++ to produce an xml file from a plain text file
which contains xml entities but without replacing the entities with the
corresponding characters. For example, if the input text file contains the
line
I'm happy.
I want the xml file to be produced as fo
On Thu, Feb 04, 2010 at 09:24:27AM -0800, Aaron Patterson wrote:
> On Thu, Feb 4, 2010 at 12:53 AM, Daniel Veillard wrote:
> > On Wed, Feb 03, 2010 at 08:34:09PM -0800, Aaron Patterson wrote:
> >> I can't seem to pass an encoding to xmlParseInNodeContext. This is
> >> problematic when dealing wit
On Thu, Feb 4, 2010 at 12:53 AM, Daniel Veillard wrote:
> On Wed, Feb 03, 2010 at 08:34:09PM -0800, Aaron Patterson wrote:
>> I can't seem to pass an encoding to xmlParseInNodeContext. This is
>> problematic when dealing with UTF-8 HTML documents. I can tell
>> libxml2 what encoding to use when
On Wed, Feb 03, 2010 at 08:34:09PM -0800, Aaron Patterson wrote:
> I can't seem to pass an encoding to xmlParseInNodeContext. This is
> problematic when dealing with UTF-8 HTML documents. I can tell
> libxml2 what encoding to use when originally parsing the document, but
> it looks like that is c
I can't seem to pass an encoding to xmlParseInNodeContext. This is
problematic when dealing with UTF-8 HTML documents. I can tell
libxml2 what encoding to use when originally parsing the document, but
it looks like that is completely ignored when using
xmlParseInNodeContext. Reference nodes in H
xmlReaderForIO (xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void *ioctx,
const char *URL,
const char *encoding,
int options);
I have been typically passing NULL for the const char * encoding parameter
for this API . Are there any limitations to doing this ?
How is this param
Hello,
I generate a xmlfile as normal ASCII Textfile with some special
characters like äöü...
To parse it with xmlreader I have to use the line
Internally the parse use allways UTF-8. Right?
When I access text or attributevalues I have to do extra conversion with
function I found with
xmlFindCh
Hi!
I have a string that have the '&' simbol and I put this string into xmlNode
with xmlNewDocNode (complete string is 'Beef 25 €'). Before saving the
tree with xmlSaveFile or xmlSaveFileEnc the node contains the ascii proper
value of '&'. When saving the tree to a file, xmlSaveFileEnc encod
On Friday 10 November 2006 15:37, Daniel Veillard wrote:
> On Fri, Nov 10, 2006 at 03:15:40PM +0100, Petr Pajas wrote:
> > Hi Daniel, All,
> >
> > I'm using the xmlCharEncoding argument of htmlCreatePushParserCtxt in
> > order to force the parser to expect a certain input encoding. It works
> > fin
On Fri, Nov 10, 2006 at 03:15:40PM +0100, Petr Pajas wrote:
> Hi Daniel, All,
>
> I'm using the xmlCharEncoding argument of htmlCreatePushParserCtxt in order
> to
> force the parser to expect a certain input encoding. It works fine but only
> as long as the HTML document contains no header like
Hi Daniel, All,
I'm using the xmlCharEncoding argument of htmlCreatePushParserCtxt in order to
force the parser to expect a certain input encoding. It works fine but only
as long as the HTML document contains no header like
where charset differs from the encoding which I'm trying to enforc
On 5/25/06, Bjoern Hoehrmann <[EMAIL PROTECTED]> wrote:
* Aron Stansvik wrote:
>On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Aftonbladet öjesliv
>>
>>
>>
>> I try to extract the title element from the above. But the encoding is not
>> recognised. What i ge
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2006-05-25 10:35]:
> I try to extract the title element from the above. But the
> encoding is not recognised.
Nothing to do with the encoding. Numeric Character References in
XML always represent Unicode code points, regardless of what
encoding literal char
* Aron Stansvik wrote:
>On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Aftonbladet öjesliv
>>
>>
>>
>> I try to extract the title element from the above. But the encoding is not
>> recognised. What i get is this:
>> Aftonbladet öjesliv
>
>What do you mean the
On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Aftonbladet öjesliv
I try to extract the title element from the above. But the encoding is not
recognised. What i get is this:
Aftonbladet öjesliv
What do you mean the encoding is not recognized? That looks like a
perfec
Aftonbladet öjesliv
I try to extract the title element from the above. But the encoding is not
recognised. What i get is this:
Aftonbladet öjesliv
here is the code that gets the item:
xmlChar * content_ptr = xmlNodeListGetString(_doc, cur_node->xmlChildrenNode,
0);
if ( !std::s
Hi,
On Thu, 2005-10-06 at 19:44 +0200, Juan David Palomino wrote:
> OK. But what i must to do to save de xml into a string?
> Can you tell me how to use xmlSaveFileTo?
> I 'm not to be able to pass a xmlOutputBufferPtr to a string.
Did you already looked at:
http://www.xmlsoft.org/xmlio.html#Exa
Hi,
On Thu, 2005-10-06 at 18:57 +0200, Juan David Palomino wrote:
> Hi to all, i have problems generating a file with encoding UTF-8.
> I don't know what to do to create the files with encoding UTF-8. Now i
> create the xml files without any encoding.
>
> What function or method set the encoding
Hi to all, i have problems generating a file with
encoding UTF-8.
I don't know what to do to create the files
with encoding UTF-8. Now i create the xml files without any
encoding.
What function or method set the
encoding?
Please Help.
Thanks.
*
On Thu, Aug 18, 2005 at 11:23:14AM +0100, syed ali wrote:
> Hi,
>
> My problem definition is as follows:
and the way to report problems is indicated at:
http://xmlsoft.org/bugs.html
provide an instance which shows the problem with xmllint. If you
can't it's probably unrelated to libxml2.
D
Hi,
My problem definition is as follows:
I am posting an XML file (UTF-8 encoded) to a
cgi-script. This script, on reciving the request,
parses the xml document. An element tag in this file
contains some hex numbers.
x76\x81\x41\x6\xf\x83\xb5\x61\x1\x8\xcb\xda\x81
\x13\x6\x62\xfa\x1\xb\xa\xe0\x4
meanings. For example %d means print integer, %s means print
string ... this is standard C stuff. If you want to print the string as
is, use printf("%s", bufptr);
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 26, 2005 5:36 AM
To: xm
this is standard C stuff. If you want to print the string as
is, use printf("%s", bufptr);
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 26, 2005 5:36 AM
> To: xml@gnome.org
> Cc: xslt@gnome.org
> Subject: [xml]
Hi all,
I'm seeing a strange error which I can't understand.
I'm writing a C cgi which use libxml2 and libxslt.
In my xsl I use exslt and then before calling xsltApplyStylesheet, I call
xmlSubstituteEntitiesDefault(1);
exsltRegisterAll();
The exslt function I use is str:encode-uri, because I have
Thanks Daniel, I gonna look iconv.
Don't matter, of course I use a serious OS...but not in a red hat flavour ;)
Regards,
Daniel Veillard wrote:
On Mon, May 23, 2005 at 10:05:50AM +0200, Remy HAREL wrote:
Yet I also use many others source files encoded with many differents
encodings :
iso-
On Mon, May 23, 2005 at 10:05:50AM +0200, Remy HAREL wrote:
> Yet I also use many others source files encoded with many differents
> encodings :
>
> iso-8859-X ( where X = 1, 2, 5, 6, 14, 15 )
> cp1256
> gb23xx
> Koi8R
> cp ( can't remember the exact name, but it corresponds to Russian ).
>
Hi folks,
I'm currently building xmltrees with libxml2 from text files using
differents encodings.
In fact, the main part is latin-1 to UTF8, and I know libxml2
provides a function to convert a source text from latin-1 to UTF8.
Yet I also use many others source files encoded with many
,Hi
I have a problem with the parser
output. The content being parsed is composed of English and Hebrew. After
parsing process, all Hebrew content is unreadable
?I have received the following
messages, What seems to be the problem
!HTML parser error: Input is not
proper UTF-8, indicate enc
On Wed, Feb 23, 2005 at 09:26:09AM +1100, Malcolm Tredinnick wrote:
> On Tue, 2005-02-22 at 23:26 +0200, Bar Gam wrote:
> > Hello
>
> Hi :)
>
> >
> > If I try to parse a document encoded in iso-8859-8 - should it be
> > converted to UTF-8, or is it supported and handled by the parser on
> > the
On Tue, 2005-02-22 at 23:26 +0200, Bar Gam wrote:
> Hello
Hi :)
>
> If I try to parse a document encoded in iso-8859-8 - should it be
> converted to UTF-8, or is it supported and handled by the parser on
> the fly? If the content should be converted (and deconverted) - what
> method should be u
Hello
If I try to parse a document encoded in iso-8859-8 - should
it be converted to UTF-8, or is it supported and handled by the parser
on the fly? If the content should be converted (and
deconverted) - what method should be used in this
?case
.Thanks for your help
__
33 matches
Mail list logo