Program to convert text to html format

C

Cristian

Is there a program that can convert text to html format?

For example, how to convert something like this: "Thís is a tèst" to
"Thís is a tèst" when we have a 1000 word document?

I've searched for this, but the best I've found is one that ads tags
around the text I write.
Like:
From:
This is a paragraph
To:
<p>This is a paragraph</p>


I hope you guys can help me.
Bye
 
B

Ben C

Is there a program that can convert text to html format?

For example, how to convert something like this: "Thís is a tèst" to
"Thís is a tèst" when we have a 1000 word document?

Don't bother.

How is your source text encoded? Perhaps UTF-8, perhaps ISO-8859-1, I
don't know. Whichever it is, you can just put that straight in the web
page as it is, and make sure the server is set up to deliver:

Content-Type: text/html; charset=UTF-8

or whatever the charset is.

If for some reason you really do need to convert everything to those &#
things, the program to do it is only a few lines long so I guess just
ask any programmer to write it quickly for you.
 
M

Michael Fesser

..oO(Cristian)
Is there a program that can convert text to html format?

For example, how to convert something like this: "Thís is a tèst" to
"Thís is a tèst" when we have a 1000 word document?

What's wrong with "Thís is a tèst"? This works perfectly in HTML, all it
needs is a proper encoding, preferably UTF-8. There's absolutely no need
to use character references anymore except for the few chars that have a
special meaning in HTML.

Micha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top