Zubrag.com
December 10, 2018, 05:29:30 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Cookies do not work if web page encoded in UTF-8  (Read 3580 times)
BruceDeacon
Newbie
*
Posts: 2


« on: April 08, 2015, 01:25:04 PM »

If I save my web page as with ‘ANSI’ encoding all works perfectly ( apart from display of some characters) however if I save the web page as ‘UTF-8‘ the cookie function does not appear to work, need to re-enter username and password each time you change page.
 
Is there any way to overcome the problem with UTF-8 encoded version?

Logged
BruceDeacon
Newbie
*
Posts: 2


« Reply #1 on: April 10, 2015, 04:49:17 AM »

Evidently php has problems with the BOM (byte order mark ) at the start of UTF files. So I will have to remove the BOM until php catches up with the move to universal character sets  Smiley

Thanks for a great script.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC