How to Convert Html Entities to Ascii Chararcters

Is there anyone who knows how to do this…

I am having a hard time finding it how.

Any help is appreciated.
thanks in advance

please provide a few examples of input and output.

10q.

On 8 January 2012 22:24, Christian Bautista <

Thanks for your reply

this is the sample input

�!�Hello World '!'

I want this to be converted to a Ascii so maybe I can make a dot matrix
printer read the ascii code.

What I need is to generate a report to a dot matrix printer…

Hope you can help me…

On Mon, Jan 9, 2012 at 11:38 AM, Charles A. Lopez

Which is greater, the number of html entities or the number of Ascii
Codes?

On 8 January 2012 22:50, Christian Bautista <
[email protected]> wrote:


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Thank you… I just found the answer. thanks :slight_smile:

On Mon, Jan 9, 2012 at 11:55 AM, Charles A. Lopez