I'm looking for a solution to problem with getting and setting the character encoding.
I have a code that outputs some text. This code is included in pages where I do not have the control over character encoding. My text comes from PHP as UTF-8 by default.
What I need is: get the character encoding of the "master" page and converting the "myscript" output text to the character set of the master page.
no mbstring extension available ...