include + utf8

Im having a big problem…

Im using an AJAX dynamic page script (to load only some part of the page)
plus
PHP

The problem is:
If i use
UTF8 format file(on index page) + meta with UTF8
The dynamic content file must be in UTF8 so i an get all characters i use (ç ã é)

But this dynamic page is loaded by PHP include function…

Sooooooo
When i use

<? include home.php; ?>

The content comes with some “SPACE bar” characters and two “”

How do i include some UTF8 file without extras characters?

Fixed it…

The problem was the enconding UTF-8 created by Windows notepad…

i just created another file using notepad2

Sponsor our Newsletter | Privacy Policy | Terms of Service