Oh, this is a different part of your application.  Headers have to be set 
before you output any other text or HTML (including things like a DOCTYPE 
declaration or an opening <html> tag).  In this case, use:

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

and put it before any echo statements or HTML code.

If you are using the mb_convert_encoding function, then it doesn't matter 
what character set the database is outputting, as long as PHP converts it 
correctly.  Check the rendered HTML to see what character codes are 
actually being output.

Here's <http://htmlpurifier.org/docs/enduser-utf8.html> a document that 
might help you get the encoding set up correctly so you don't have to go 
through this process for every page.

On Wednesday, January 23, 2013 12:41:16 AM UTC-5, Chrystopher Medina wrote:
>
> where i can check the database output to make sure it's in the right 
> character set.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/mXiyTbxEd7kJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to