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'?
What is the "" symbol on the Paypal developer page?
Moderator: General Moderators
- 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?
I think it is the signature of the coder/programmer.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'?
- 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?
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
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
Re: What is the "" symbol on the Paypal developer page?
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
This is mistake of PayPal admins.
More about BOM: http://en.wikipedia.org/wiki/Byte_Order_Mark
- 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?
Haha, and I thought that this was some kind of secret code like they showed in the movie "The Net (Sandra Bullock)"...