Html special characters and the accented characters

Dear all

Well, it is a headache... What I do for reading accented characters in a textarea, for examples, of a webpage with source code sourece caracters and any metatag regarding the ". ISO".

URL: http://www.filosofia.org/rev/bas/bas20101.htm


del descubrimiento, en tanto éste no puede hacerse consistir en un acto instantáneo de conocimiento, en una especie de revelación súbita. Cuando el explorador descubre una nueva senda en la selva, valiéndose de su machete, las perspectivas que descubre conspectivamente implican a su vez resoluciones o disposiciones sobre el terreno recorrido. Más aún: como es imposible prácticamente en

Open in new window


Thank you in advance for any advice.

Bob
BOB KUSPEAsked:
Who is Participating?
 
Julian HansenConnect With a Mentor Commented:
<?php
$x = "del descubrimiento, en tanto &eacute;ste no puede hacerse consistir en un acto instant&aacute;neo de conocimiento, en una especie de revelaci&oacute;n s&uacute;bita. Cuando el explorador descubre una nueva senda en la selva, vali&eacute;ndose de su machete, las perspectivas que descubre conspectivamente implican a su vez resoluciones o disposiciones sobre el terreno recorrido. M&aacute;s a&uacute;n: como es imposible pr&aacute;cticamente en";
echo html_entity_decode($x);

Open in new window

html_entity_decode()
1
 
Serena HsiMarketing ConsultantCommented:
What is the question here? Are you asking for text-to-speech readers or for ASCII help on converting text to accented characters?
0
 
BOB KUSPEAuthor Commented:
I am asking for help on converting text to accented characters:

For example:

aacute; to á
eacute; to é
iacute; to í
oacute; to ó
uacute; to ú

Best regards

Bob
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
Flabio GatesCommented:
Well, javascript already knows how to translate those. See fiddle.
0
 
BOB KUSPEAuthor Commented:
Hi,

I want this code in ASP or PHP, but I found it in Javascript:

Example:

onClick="replaceFormFields(this.form,'oacute;','ó');

Open in new window


Thanks
0
 
BOB KUSPEAuthor Commented:
Yes, Julian

I love PHP although I am a newby. Simple and efficient
0
 
BOB KUSPEAuthor Commented:
Many thanks
0
 
Julian HansenCommented:
You are welcome.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.