473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Vowel mutation in file name

This is a part of my code (made by php):

<tr>
<td><img src="finnland-2004/01-anreise/021-StockholmScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/022-TurkuScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/023-TurkuScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/024-Satu.jpg" alt=""
align="center" valign="middle" height =" 160"></td>
<td><img src="finnland-2004/01-anreise/025-Satu.jpg" alt=""
align="center" valign="middle" height =" 160"></td>
</tr>

I gave names to the pictures like "015-StockholmVärta",
"021-StockholSchären.jpg" or "022-TurkuSchären.jpg".

The files with file mutation like ä, ö, ü are not shown, so I changed
all ä to a, ö to o and so on.

(Of course I could write "022-TurkuSaaristo", but what about
"028-Högsar" or "096-Rääkkylä"?)

What is the reason, or is there a trick which I can use?

Thanks for help

Werner
Jul 23 '05 #1
4 1677

"Werner Partner" <ka********@sonoptikon.de> wrote in message
news:ut************@idefix.dom...
This is a part of my code (made by php):

<tr>
<td><img src="finnland-2004/01-anreise/021-StockholmScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/022-TurkuScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/023-TurkuScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/024-Satu.jpg" alt=""
align="center" valign="middle" height =" 160"></td>
<td><img src="finnland-2004/01-anreise/025-Satu.jpg" alt=""
align="center" valign="middle" height =" 160"></td>
</tr>

I gave names to the pictures like "015-StockholmVärta",
"021-StockholSchären.jpg" or "022-TurkuSchären.jpg".

The files with file mutation like ä, ö, ü are not shown, so I changed
all ä to a, ö to o and so on.

(Of course I could write "022-TurkuSaaristo", but what about
"028-Högsar" or "096-Rääkkylä"?)

What is the reason, or is there a trick which I can use?


The characters a and ä are two different characters, and they are treated
that way. You could have four different files called aa.jpg, aä.jpg, äa.jpg,
and ää.jpg, all in the same directory. If a web page contains aa.jpg, do you
want the server to send äa.jpg, aä.jpg, or ää.jpg instead?

Jul 23 '05 #2
Werner Partner <ka********@sonoptikon.de> wrote:
I gave names to the pictures like "015-StockholmVärta",


Don't. Rename them. Characters outside Ascii don't work in URLs, except
on special days for odd values of "work". Use "a" instead of "ä" in file
names.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #3
Harlan Messinger schrieb:
"Werner Partner" <ka********@sonoptikon.de> wrote in message
news:ut************@idefix.dom...
This is a part of my code (made by php):

<tr>
<td><img src="finnland-2004/01-anreise/021-StockholmScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/022-TurkuScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/023-TurkuScharen.jpg" alt=""
align="center" valign="middle" width =" 160"></td>
<td><img src="finnland-2004/01-anreise/024-Satu.jpg" alt=""
align="center" valign="middle" height =" 160"></td>
<td><img src="finnland-2004/01-anreise/025-Satu.jpg" alt=""
align="center" valign="middle" height =" 160"></td>
</tr>

I gave names to the pictures like "015-StockholmVärta",
"021-StockholSchären.jpg" or "022-TurkuSchären.jpg".

The files with file mutation like ä, ö, ü are not shown, so I changed
all ä to a, ö to o and so on.

(Of course I could write "022-TurkuSaaristo", but what about
"028-Högsar" or "096-Rääkkylä"?)

What is the reason, or is there a trick which I can use?

The characters a and ä are two different characters, and they are treated
that way. You could have four different files called aa.jpg, aä.jpg, äa.jpg,
and ää.jpg, all in the same directory. If a web page contains aa.jpg, do you
want the server to send äa.jpg, aä.jpg, or ää.jpg instead?


You understood me wrong.

The Server does not show aä.jpg or äa.jpg

I send you an example:

http://www.sonoptikon.de/test.php

The source is:

------------------------------------------------------------
<table border="0" style="border-collapse:collapse"<tr>

<td><img src="test/009-StockholmVärta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
<td><img src="test/010-StockholmVarta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
<td><img src="test/011-StockholmVärta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
<td><img src="test/012-StockholmVarta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
<td><img src="test/013-StockholmVärta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
</tr>
<tr>
<td><img src="test/014-StockholmVarta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
<td><img src="test/015-StockholmVärta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
<td><img src="test/016-StockholmVarta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
<td><img src="test/017-StockholmVärta.jpg" alt="" align="center"
valign="middle" width =" 160"></td>
</tr>

</table>
------------------------------------------------------------

There are 9 Pictures, you see only the pictures with
"nnn-StockholmVarta.jpg". The Pictures "nnn-StockholmVärta.jpg" have a
place in the table, but they are not visible. Why?

regards

Werner
Jul 23 '05 #4
Jukka K. Korpela schrieb:
Werner Partner <ka********@sonoptikon.de> wrote:

I gave names to the pictures like "015-StockholmVärta",

Don't. Rename them. Characters outside Ascii don't work in URLs, except
on special days for odd values of "work". Use "a" instead of "ä" in file
names.


There is an interesting effect.
I tried to demonstrate the effect, which happened on my local server
with Apache 2.0.49.

But this effect does not happen in the www. So what is the difference
between my Apache and the Net referring vowel mutation?

Neverthelesse it's standard not to use ä, ö, ü. And I will do it as you
say, but I want to understand what my Apache is doing.

By the way: Do you remember severeal years ago when American newspapers
tried to write long Finnish names as e.g. Haemaelaeinen.
Or think about Raeaekkylae (even worse would be "Raeaekkuelae")
Isn't it cruel?

regards

Werner
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dave Smithz | last post by:
Hi There, I have a PHP script that sends an email with attachment and works great when provided the path to the file to send. However this file needs to be on the same server as the script. ...
5
by: vysakhpillai | last post by:
I Posted a question about how to incorporate changable passwords to my c/c++ programs without using a file to store the password in my college discussion forum and all answers included the usage of...
1
by: dany11gr | last post by:
Hi, I'm actually new to this site. So i don't know if i could ask directly about how to write any code. I'm working on this code to output vowless string from the user- input line of text. For...
14
by: Hendrik van Rooyen | last post by:
Hi, I am surprised that it took me so long to bloody my nose on this one. It must be well known - and I would like to find out how well known. So here is a CLOSED BOOK multiple choice...
1
by: rohandeshmukh1983 | last post by:
Hi, I've a table in which I'm suppose to control value of one column col1 based on another column col2. i.e. if col2 is updated, col1 should get updated based on new value of col2. Also, this...
3
by: srinithi | last post by:
1.write a program to identify whether a character entered by a user is a vowel or a consonant? 2.write a program to identify whether the number entered by user is even or odd? 3.write a program to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.