About unknown charaters shows

P

Priyank Shah

Hi,

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
like

"-á" 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.


Ex:

Original Html:

<strong>Hello </strong>

After remove Html tags in ruby :

hello-á



Thanks,
Priyank Shah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top