Special symbols cut (&...) (1 Viewer)

mitiok2008

Portal Pro
February 1, 2009
115
1
Guys. What is the logic behind :htmldecode modifier into a scraper? For ex, I have &#151 (long -), &#133 (...), but it's somehow decoded wrong. (long-) goes to square, (...) just cut. For sure we can forgot about such symbols, but... it's better to have kind of translation table...
 

mitiok2008

Portal Pro
February 1, 2009
115
1
Friends, could you help me with it. Regex returns string with special symbols. To eliminate it :htmldecode modifier is used. But the modifier cut :, long - and ... symbols as well (symbols are typed with &#xxx, for ex &#151 = long -; &#133 = ...). Is it possible to decode html string without cutting those symbols?
 

Users who are viewing this thread

Top Bottom