What is the "" symbol on the Paypal developer page?

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
User avatar
aditya2071990
Forum Contributor
Posts: 106
Joined: Thu May 22, 2008 11:30 am
Location: Hyderabad, India
Contact:

What is the "" symbol on the Paypal developer page?

Post by aditya2071990 »

That weird symbol really catches my eye whenever I visit this page:
https://www.paypal.com/Certification/dc_index.html

Its been bugging me for a week and I tried to find out what it is with no result....any answers people? Is it a coding error or somethin'?
mhonnphp
Forum Commoner
Posts: 37
Joined: Fri Oct 12, 2007 11:29 pm
Location: Philippines
Contact:

Re: What is the "" symbol on the Paypal developer page?

Post by mhonnphp »

aditya2071990 wrote:That weird symbol really catches my eye whenever I visit this page:
https://www.paypal.com/Certification/dc_index.html

Its been bugging me for a week and I tried to find out what it is with no result....any answers people? Is it a coding error or somethin'?
I think it is the signature of the coder/programmer.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: What is the "" symbol on the Paypal developer page?

Post by Kieran Huggins »

It's a "byte-order mark".

PayPal have encoded the page in UTF-8 (which includes this mark, as it should) but they're sending a Latin-1 (ISO-8859-1) encoding type header with the HTTP response (which is incorrect).

The browser is then displaying the page as Latin-1, and therefore displaying the byte-order mark.

The fix would be for PayPal to send the correct encoding-type header. You can simulate this by telling the browser to override the character encoding in View -> Character Encoding -> UTF-8.

Cheerio!
Kieran
mVeliki
Forum Newbie
Posts: 8
Joined: Mon Mar 17, 2008 4:42 pm

Re: What is the "" symbol on the Paypal developer page?

Post by mVeliki »

These two chars are added to begining of php script during editing by some of editors w like to add them without notice, DW for example.
This is mistake of PayPal admins.

More about BOM: http://en.wikipedia.org/wiki/Byte_Order_Mark
User avatar
aditya2071990
Forum Contributor
Posts: 106
Joined: Thu May 22, 2008 11:30 am
Location: Hyderabad, India
Contact:

Re: What is the "" symbol on the Paypal developer page?

Post by aditya2071990 »

Haha, and I thought that this was some kind of secret code like they showed in the movie "The Net (Sandra Bullock)"...
Post Reply