Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6865553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:04:07+00:00 2026-05-27T03:04:07+00:00

I have switched all html (and php) pages to utf-8. Before that everything looked

  • 0

I have switched all html (and php) pages to utf-8. Before that everything looked perfect in any browser for a very long time. Now, when I switched to utf-8 everything (MySQL db and pages), NO other changes were made, the pages look a bit odd. It displays several white rectanges on the page.

Viewing sourse in the browser shows nothing. When I save html page using Save As… (using the default encoding UTF-8 as IE suggests), I see 15 symbols-rectangles on the page. Once I remove them from html page (using Notepad) manually, everything looks almost fine. (Almost = saved html page doesn’t display all pictures so I can’t tell for sure).

important additional info:

  1. When I converted all php pages in Notepad++ from ANSI to UTF-8, I chose Encoding->Convert to UTF-8 (not a Convert to UTF-8 without BOM). So, probably, it was converted with BOM.
  2. css {padding:0, margin:0} was used a long time to remove white spaces on top a long time ago and was not changed since that time.

Example of several rectanges that I’ve found on the saved html page (showed here using question symbols):

**<BODY>?????? 

<META name=description content="....**
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:04:08+00:00Added an answer on May 27, 2026 at 3:04 am

    Yes, it very much sounds like you have a leading BOM in the page, which usually chokes up browsers. Save the files as UTF-8 without BOM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have switched on the Codeigniter profile (very useful) and I have noticed that
Static variable gotcha in php I am from Java background and have switched to
As you may have known that I switched from ubuntu to windows from my
So, basically, I have four different views that are switched via a tab bar
I have switched from Quirks Mode to Standards Mode (HTML 4.01 Transitional), and have
I have a form in my site_base.html which extends to all of my templates.
I have the following page that works as I want it to, all the
I have a web application (.NET 2.0 coded in C#) that displays pages both
I have switched to Vista recently and I wanted to keep UAC turned on,
I have heard from people who have switched either way and who swear by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.