ftp help =)

Joined
Dec 1, 2006
Messages
36
Reaction score
0
Points
6
I just got an imac for the first time, and im actually doing okey with figuring things out. Buut, I cant find something that will open my html documents in codes. in textedit and stuff it just opens up in how the codes form out, like how the webpage looks.
And I neeeed to fix on my site now. Soo, can anyone help me ? :)
 

dtravis7


Retired Staff
Joined
Jan 4, 2005
Messages
30,133
Reaction score
703
Points
113
Location
Modesto, Ca.
Your Mac's Specs
MacMini M-1 MacOS Monterey, iMac 2010 27"Quad I7 , MBPLate2011, iPad Pro10.5", iPhoneSE
I agree with Pulse-8 that TextWrangler is great.

If you want to fix Textedit so it will display the code though, check the two pics I am including of the preferences. Be sure to change it to ignore Rich Text in HTML and on the other tab select plain text instead of Rich Text. Check my settings as mine does what you want it to do. Even though I prefer TextWrangler, it's nice to have Textedit for some simple edits.

Picture 1jpg.jpg

Picture 2jpg.jpg
 
OP
T
Joined
Dec 1, 2006
Messages
36
Reaction score
0
Points
6
and one more thing, didnt bother to make a new thread
I write in Norweigan, and I used the letters åøæ, but when I upload them to my site, they all come as really strange things such as 3/4 and stuff:S
know how to fix this?
 
Joined
Nov 10, 2006
Messages
324
Reaction score
6
Points
18
Location
Leeds, England
Your Mac's Specs
17" Core Duo Macbook Pro
This is only a guess but isn't that to do with the character set you've specified in the meta tag?
 
Joined
Mar 17, 2006
Messages
312
Reaction score
17
Points
18
Location
Texas
Your Mac's Specs
Mac mini i5, 2.3Ghz dual core, 8 GB RAM, OSX 10.8.2
and one more thing, didnt bother to make a new thread
I write in Norweigan, and I used the letters åøæ, but when I upload them to my site, they all come as really strange things such as 3/4 and stuff:S
know how to fix this?

You need to put this into the header of your HTML files:

Code:
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Change the values to your language, of course.
 
OP
T
Joined
Dec 1, 2006
Messages
36
Reaction score
0
Points
6
thank you! But what part of the code do I change?
I tired the en-us to No, but that didnt woork.. hm
 
Joined
Jan 4, 2006
Messages
1,385
Reaction score
146
Points
63
Location
Hamburg, Germany
Your Mac's Specs
MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)
Try the following code.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="no">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
......
......
</head>
......
 
OP
T
Joined
Dec 1, 2006
Messages
36
Reaction score
0
Points
6
I tried both those codes but it still isnt workiing=/
Im not sure if its 'no' though? But I think so, cause it Is Norweigan.
hmm..
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top