On Dec 19 2006 21:37, Carl Hartung wrote:

>Date: Tue, 19 Dec 2006 21:37:26 -0500
>From: Carl Hartung <[EMAIL PROTECTED]>
>Reply-To: opensuse@opensuse.org
>To: opensuse@opensuse.org
>Subject: [opensuse] character set problem?
>
>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.

I don't.

>The php snippet doesn't work. It instead produces this 
>string [' ); } ?>] (between the brackets) at the top-most margin of the page.

Giving this much spacing makes it look like you wrote a UTF-16 mail and you are
not interpreting it back correctly.

>
>Am I dealing with a character set issue? My box is all UTF-8 *except* for the 
>FAT32 partition that gets shared with XP.

... which uses UTF-16 internally, and hence has usually no problems.

>This snippet was downloaded to and 
>'lives' on that partition.
>
>Any help figuring this out will be gratefully appreciated.


        -`J'
-- 
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to