V
V
Vadim2017-01-11 14:40:20
CMS
Vadim, 2017-01-11 14:40:20

Why does phpQuery replace characters?

Good afternoon
When working with html code in which there are characters, such as:
  © и т.д
Converted to " " (space), copyright sign ©, etc...
Another code such as:

<a class="btn" href="{elements: url}">Читать далее</a>

Replaces with:
<a class="btn" href="%7Belements:url%7D">Читать далее</a>

How can I disable these conversions?
So that if there is &_copy in the source code, then it remains &_copy?
The curly brace in the link was trailed by the curly brace.
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim, 2017-01-11
@ShVad

Used PHP Simple HTML DOM Parser.

$html = file_get_html('http://simplehtmldom.sourceforge.net/', false, null, -1, -1, true, true, DEFAULT_TARGET_CHARSET, false);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question