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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Flabio GatesCommented:
Well, javascript already knows how to translate those. See fiddle.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Julian HansenCommented:
<?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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.