K
K
Kirill Sapronov2017-02-04 21:33:44
PHP
Kirill Sapronov, 2017-02-04 21:33:44

Why does PHP Simple HTML DOM Parser break the output right after a Russian word?

In general, I read either from a file or from a url, then I look that everything is reading normally, the entire text is in the variable. But when I output a parsed document or save it to a file, cropping occurs immediately after the word in Russian, if you remove all Russian characters, then it displays an uncut file. The question is why is that? I tried to run the output loop code, but it’s cunning and didn’t understand much, I realized that the output stops after Cyrillic characters. Mb who also had it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2017-02-04
@rPman

never had problems with this library and Russian language (utf8)

K
Kirill Sapronov, 2017-02-05
@bintoll

In general, I uploaded it to the server, there is no problem there, for some reason only on the local machine (

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question