# About unknown charaters shows

**URL:** <https://www.ruby-forum.com/t/about-unknown-charaters-shows/192490>\
**Category:** Ruby\
**Created:** [July 31, 2010, 1:28pm UTC](https://www.ruby-forum.com/t/about-unknown-charaters-shows/192490 "2010-07-31T13:28:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pshah](https://www.ruby-forum.com/u/pshah)\
**Post date:** [July 31, 2010, 1:28pm UTC](https://www.ruby-forum.com/t/about-unknown-charaters-shows/192490/1 "2010-07-31T13:28:38Z")

</div>

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 **hello** so it shows like

“hello-Ã¡” and reason is space before 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 S.
