UTF8 problems

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nesalc
Forum Newbie
Posts: 2
Joined: Wed Jun 28, 2006 4:13 am

UTF8 problems

Post by nesalc »

I am having some problems with german special characters like ä and ü (hopes they display correct in the forum)

In a php file stored in UTF8 some strings with the special characters is defined.

Most of the time the output of these strings is correct on my UTF8 encoded html pages.

But sometimes, seems to me that it is when there has been no activity on the server for a while, I get just a ? instead of the special characters. Doing a refresh solves the problem and everything is okey until the server again is inactive for a while.

Anyone else who has seen something like this?

So far my research indicates to me that:
It is not a browser specific problem.
Seems like server-side problem.
Seems like an apache or php problem to me.

(Using html entities like & # 228; = ä could solve the problem I know, but that is not an option I can use)

Thanks,
/Claus
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Why is using the entitiy code not possible?
nesalc
Forum Newbie
Posts: 2
Joined: Wed Jun 28, 2006 4:13 am

Post by nesalc »

feyd wrote:Why is using the entitiy code not possible?
Search Engine Optimization, some of the special characters is part of links and we do not want entities as part of the link text.
Some say it may be an issue, some say not, so we want to avoid it.

/Claus
Post Reply