what char encoding are plain text files?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Can someone please explain to me what type of character encoding (Unicode
UTF8, ISO whatever, etc) plain vanilla text files are (I am talking text
files as created for example with a linux vi or gedit or vim editor, the
simplest text files)?  

I have been running into problems with HTML files I made, uploaded to a
proprietary Content Management System (online campus software), that has
an online html editor; when I then download my html, it seems to be funked
somehow by the online software system so that when I try to look at my
downloaded html with linux 'less' command or the vi editor, I get a
warning that it is a binary file and all I see is gibberish (binary funky
characters) rather than the text based html tags. I can still open and
view the html in Mozilla Composer, and if I save it with e.g. Unicode UTF8
character encoding I can then see it with less command or the vi editor or
some other plain text editor. I can also open the funked html in
Openoffice, where I see the html source as tags, but just before the first
<HTML> tag there are two funky binary characters (a y with two dots over
it, followed by a vertical line with a backwards c attached to it); if I
delete those two funky characters, then save the file with OpenOffice, I
can then view the saved html with vi editor, etc.

Very odd, I do not understand what is going on. If anybody can enlighten
me I will be very greatful.

Re: what char encoding are plain text files?

On Sun, 25 Sep 2005 17:50:57 -0500, Proteus wrote:

Quoted text here. Click to load it

Ok i have been doing some homework, found a couple of good linksL

Site Timeline