FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

My page dosn't work in IE, å ä ö is the problem, help please

 


SGbilder
I have some folder and picuters with names that contain "å", "ä" or "ö" and then Internet Explorer can't show them...

In the html-code I have changed the letters to "&aring" "&auml" "&ouml" but it doesn't solve the problem. I don't want to use "a" and "o" instead, so please does anyone know how to fix this?

Also when I'm in DirectAdmin under "Files" and click on a folder that contain one of the letters å, ä or ö it show this:
Quote:
Invalid path: /domains/sgbilder.frih.net/public_html/Ärtor och punch på HG, Paths must also begin with a forward slash (/)
To copy/move files with the clipboard, add the source files to the clipboard with "Add to Clipboard", go to the directory where you wish to copy/move the files, then click "Copy Clipboard Files here" or "Move Clipboard Files here"


The page works fine in FF though! but a lot of my friend doesn't use it Sad
selim06
SGbilder wrote:
I have some folder and picuters with names that contain "å", "ä" or "ö" and then Internet Explorer can't show them...

In the html-code I have changed the letters to "&aring" "&auml" "&ouml" but it doesn't solve the problem. I don't want to use "a" and "o" instead, so please does anyone know how to fix this?

Also when I'm in DirectAdmin under "Files" and click on a folder that contain one of the letters å, ä or ö it show this:
Quote:
Invalid path: /domains/sgbilder.frih.net/public_html/Ärtor och punch på HG, Paths must also begin with a forward slash (/)
To copy/move files with the clipboard, add the source files to the clipboard with "Add to Clipboard", go to the directory where you wish to copy/move the files, then click "Copy Clipboard Files here" or "Move Clipboard Files here"


The page works fine in FF though! but a lot of my friend doesn't use it Sad

You may need to add a language code for IE's recognize...Such as "en" for English."tr" or Turkish etc...And do you upload the images with spaces i mean "example one.gif"it may cause that you should use example%20one.gif"...Some of browsers can do it automalicly but IE may can't...
SGbilder
selim06 wrote:

You may need to add a language code for IE's recognize...Such as "en" for English."tr" or Turkish etc...And do you upload the images with spaces i mean "example one.gif"it may cause that you should use example%20one.gif"...Some of browsers can do it automalicly but IE may can't...


Where do I put the "en"? And where exactly should I change spaces for %20?
in the folder-name, picture-name, html-code..???
Nyizsa
I assume that you are from Northern Europe. Add the following line to the <head> section of the page:
Code:
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-4" />

If it doesn't work, try this one:
Code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Good luck!
SGbilder
Nyizsa wrote:
I assume that you are from Northern Europe. Add the following line to the <head> section of the page:
Code:
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-4" />

If it doesn't work, try this one:
Code:
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Good luck!


I've tried UTF-8, ISO-8859-4, ISO8859-1, still no luck, someone got more ideas?
Kaneda
IE has problems with converting IRI's (Internationalized Resource Identifiers) to URI's. So, in the URL, you'll need to do the conversion yourself, hence, your URL would look like:

http://sgbilder.frih.net/%C4rtor%20och%20punch%20p%E5%20HG/

... for a server configured for ISO-8859-1 URLs (which frih.net seems to be).

or (better, but won't work on frih.net):

http://sgbilder.frih.net/%C3%84rtor%20och%20punch%20p%C3%A5%20HG

... for a UTF-8 configured server.

To make it a bit more readable, you can keep the spaces, rather than converting to %20, but while it works in IE and Firefox, you can't be sure it will in other browsers.
SGbilder
Thank you for the ideas. I ended up changing the names on folders and pictures to more friendly names Smile and then write å ä ö in the html code... now it works like a charm.
Marston
Just for clarification, it should be
Code:
&ouml;
not
Code:
&ouml
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.