Mailinglist Archive: opensuse (4634 mails)

< Previous Next >
[opensuse] character set problem?
  • From: Carl Hartung <suselinux@xxxxxxxxxxxxx>
  • Date: Tue, 19 Dec 2006 21:37:26 -0500
  • Message-id: <200612192137.26837.suselinux@xxxxxxxxxxxxx>
Hi Everybody,

I'm working on a website update on my SUSE box and can't seem to see what my
problem is here:

> <?php
> $ua_ok= $_SERVER['HTTP_USER_AGENT'];
> if( eregi( "Mac_PowerPC", $ua_ok ) &&
> eregi( "msie", $ua_ok ) &&
> eregi( "[5]\.[2][0-9]", $ua_ok ) ) {
> echo( '<link rel="stylesheet" type="text/css"
> href="styles/mac-ie52styles.css" media="screen" />' );
> ?>

In this e-mail, for the first time, I'm seeing a rectangle immediately after
the final semicolon. The php snippet doesn't work. It instead produces this
string [' ); } ?>] (between the brackets) at the top-most margin of the page.

Am I dealing with a character set issue? My box is all UTF-8 *except* for the
FAT32 partition that gets shared with XP. This snippet was downloaded to and
'lives' on that partition.

Any help figuring this out will be gratefully appreciated.

TIA & regards,


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups