# UTF-8 to ASCII Conversion

**URL:** <https://www.ruby-forum.com/t/utf-8-to-ascii-conversion/194158>\
**Category:** Rails\
**Created:** [August 31, 2010, 12:02pm UTC](https://www.ruby-forum.com/t/utf-8-to-ascii-conversion/194158 "2010-08-31T12:02:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rorjeff](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@rorjeff](https://www.ruby-forum.com/u/rorjeff)\
**Post date:** [August 31, 2010, 12:02pm UTC](https://www.ruby-forum.com/t/utf-8-to-ascii-conversion/194158/1 "2010-08-31T12:02:12Z")

</div>

UTF-8 to ASCII Conversion

does anybody knows how to convert from UTF-8 to ASCII.

the problem is that,the DB supports UTF-8 in one server, which can  
display Special characters when PRAWN generates the PDF…  
when the same code is migrated to another server which supports ASCII-  
database, its not working. so is there any method or code that tells the  
server to convert or process in the same UTF-8 type.

Helppppppppppppppppppppp!!!
