Page 1 of 1

One Image not Appearing

PostPosted: 12. November 2010 23:04
by DrDaveCF
I have a test site using xampp 1.7.0. There are many images involved. They all appear fine on the live GoDaddy site. I have one on the xampp test site that is not found. I suspect it is because it has some weird I think German symbols as part of the title. What can I do and why is that not a problem on the live site?

Re: One Image not Appearing

PostPosted: 12. November 2010 23:06
by Altrea
it would be much easier to help you if we can get some code to test this.

Re: One Image not Appearing

PostPosted: 12. November 2010 23:15
by DrDaveCF
Tell me what you want I will get it for you. BTW I did delete the funny non english symbol and reinstalled the picture and this solved the problem but I think this is a bug that should be looked at.

Re: One Image not Appearing

PostPosted: 12. November 2010 23:23
by Altrea
Well, it's an Image. So maybe you want to tell us the name of the image with this special char?
Or even better your implementation of this picture (HTML Tag, PHP code, ...)

Re: One Image not Appearing

PostPosted: 12. November 2010 23:32
by DrDaveCF
HeimwA#rtsInFL115.jpg
Except in place of the number's sign (#) is a very wavy number's sign which is not english. I can't even replicate it.

Re: One Image not Appearing

PostPosted: 12. November 2010 23:36
by Altrea
an ä ?
The A and the sign you can't explain should be an ä, because Heimwärts is the only german word that makes sense.

I think your problem is related to a wrong charset transformation.

Re: One Image not Appearing

PostPosted: 12. November 2010 23:43
by Altrea
e.g.:

utf-8 "ä" char interpreted as ISO8859-1 char:
ä

Re: One Image not Appearing

PostPosted: 12. November 2010 23:50
by DrDaveCF
That's what it is the utf-8 character. Why wasn't that recognized in xampp? What can I do so that it is?

Re: One Image not Appearing

PostPosted: 13. November 2010 00:05
by Altrea
DrDaveCF wrote:Why wasn't that recognized in xampp?

Because you have done something wrong relating to charsets.
But without your sourcecode it's impossible to say.

The XAMPP Apache can serve Image Files with german Umlauts, tested 2 minutes ago (btw: it is best practice to name files just with the 26 chars of the alphabet + maybe numbers if needed. Nothing else).
But not every Application can handle files with special chars correctly.

Re: One Image not Appearing

PostPosted: 13. November 2010 00:11
by JonB
Its not a function of XAMPP, its a function of the pages that are served - read and be enlightened:

http://www.joelonsoftware.com/articles/Unicode.html

good luck
:)

'altrea is right'

Re: One Image not Appearing

PostPosted: 13. November 2010 00:19
by DrDaveCF
Please understand I am not a programmer. I am just managing a Drupal site and this came up. Your descriptions are over my head. I agree that this name was too long but one of our world wide members uploaded it so I have no control over that. I still am confused as to why this was fine on the live Godaddy site but when backed up to a test site run with Xampp there is a problem. What can I do to prevent the problem from occurring in the future?

Re: One Image not Appearing

PostPosted: 13. November 2010 00:32
by Altrea
DrDaveCF wrote:Please understand I am not a programmer.

And you should understand, that this board can't give support for all problems of all webapplications all over the world. Your problem is a problem just a programmer can solve.
The first thing you should find out is, if drupal can handle filenames with Umlauts.
After that you should find out
- how to configure drupal to do so or
- how to prevent people from upload files with Umlauts in drupal

However, this is really really webapplication specific. So maybe your question is better asked in a drupal related board

DrDaveCF wrote:I still am confused as to why this was fine on the live Godaddy site but when backed up to a test site run with Xampp there is a problem.

I am confused too about that. But i can't solve this problem, sorry. I can't see what you see. I can't know all you know about your site. I don't sit in front of your computer.