You are here: Re: [PHP] Accented character 'echo'ed randomly « PHP « IT news, forums, messages
Re: [PHP] Accented character 'echo'ed randomly

Posted by John Coppens on 04/05/05 18:21

On Tue, 05 Apr 2005 09:44:35 +0200
Marek Kilimajer <lists@kilimajer.net> wrote:

> John Coppens wrote:
> > Hi people.
> >
> > I submitted the issue below to the bug site, but the people there
> > suggested I present it here. I've tried some more, but until now, I
> > couldn't find any cause for the problem.
> >
> > Any suggestion would be appreciated!
> >
> > John
> > --------------------
> >
> > Description:
> > ------------
> > I have a very simple web-page script with mainly 'echo' commands.
> > Randomly the accented characters are replaced
> > by question-marks. If or not the question mark appears
> > seems to be depending on the page contents, though at least
> > in one of the cases, the only thing that changes in the
> > page is a GIF image.
> >
> > All this happens in the same html-session, using the same
> > script.
> >
> > I've seen other -similar- reports, though none about 'echo'.
> > I can't be sure if this is an apache problem or php-related.
> >
> > Sorry if was already solved... Please indicate.
> >
> > Reproduce code:
> > ---------------
> > echo "Página Índice";
> >
> > Expected result:
> > ----------------
> > Página Índice
> >
> > Actual result:
> > --------------
> > Randomly
> > Página Índice
> > P?gina ?ndice
> >
>
> Is the character set indicated on the page?

Thanks for the reply, Marek.

The page is started with <html lang="es">, according to rfc3066.

John

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация