[jQuery] character encoding problems using jQuery, MySQL and AMFPHP

[jQuery] character encoding problems using jQuery, MySQL and AMFPHP


Hello,
I've read through everything I could find on encoding and UTF-8 in
this group, and also on the web, but still can't find a solution to my
problem.
As you can see of the subject, I'm storing my data in MySQL (where
everything has been set to UTF-8 unicode). On top of the database I'm
using AMFPHP for communication between the database and the front-end
(which is made with Flash), and the back-end (which is using jQuery).
When I use the AMFPHP browser for testing the services, the results
show up fine, with international characters (in my case norwegian).
But when outputting the result via jQuery, everything from the special
character and to the end of the string gets cut off.
The header of the PHP class is set to UTF-8, and so is the HTML-
document using jQuery.
The strangest thing (in my opinion) is that the service being using is
the very same in both cases.
Does anyone have any experience using this combination of software?
Any hints would be appreciable.
Thanks!
Best regards,
Thomas Viktil