# Open-uri only ascii when opening utf-8 encoded site

**URL:** <https://www.ruby-forum.com/t/open-uri-only-ascii-when-opening-utf-8-encoded-site/177650>\
**Category:** Ruby\
**Created:** [October 21, 2009, 4:18pm UTC](https://www.ruby-forum.com/t/open-uri-only-ascii-when-opening-utf-8-encoded-site/177650 "2009-10-21T16:18:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![broken\_lambda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b5ac83/32.png) [@broken\_lambda](https://www.ruby-forum.com/u/broken_lambda)\
**Post date:** [October 21, 2009, 4:18pm UTC](https://www.ruby-forum.com/t/open-uri-only-ascii-when-opening-utf-8-encoded-site/177650/1 "2009-10-21T16:18:53Z")

</div>

When trying to open a page that is utf-8 encoded with open-uri it gives  
me a result encoded in ascii.

This of course means that alot of characters are wrong (for example  
“Ã©”)…

I tried to to change the encoding but to no avail…
