UTF-8 to ASCII Conversion

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.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs