PHP does output UTF8 encoding

header( 'Content-type: text/html; charset=utf-8' );

You need to send headers before any text/html output started., so the there
should not be any carriage returns before the first  "<?php"
Also you need to save your PHP file as UTF-8 encoded, if you include unicode
characters in the php itself.
You can use notepad Save As.... UPF-8, but it's not good, because it sends
out the signature, and it happens before you can send any headers, sessions,
cookies etc....
Microsoft Developer Studio does right job. - Advanced Save Options -
utf8-without signature
You have to keep some unicode characters in your file to maintain the
setting from save to save, because if you just have english characters, it
will be the same as ANSI

"Javi Lavandeira" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> >      Yes, i sent this header information but it's just informative for
the
> > browser and i can manually select the encoding to UTF-8 from the
browser,
> > but that's not the case, because the php output simply isn't utr-8 :)
> > and all i see is shits :).
>
> Could you give me the URL of some example of this problem so I can take a
look at it?
>
> Regards,
>
> --
> Javi Lavandeira ([EMAIL PROTECTED]) - http://www.ag0ny.com



-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to