About unknown charaters shows


I read some html source and remove all tags and just take the contents.

So when i see that contents in ruby output it shows me unknown charaters

"-á" and it shows inplace <strong>hello </strong> so it shows like

"hello-á" and reason is space before </strong> tag.

so if any one have idea using regex or any thing for remove this space
from tag

or this charater then please give me some ideas.


  Original Html:

    <strong>Hello </strong>

After remove Html tags in ruby :


Priyank Shah


Posted via http://www.ruby-forum.com/.