[pmwiki-users] XMLRPC and UTF-8
Tomas Pihl
tomas at pihl.org
Wed Dec 28 11:16:09 CST 2005
> Apparently the xmlrpc.inc script sets ISO-8859-1.
> See lines 140-144 of cookbook/xmlrpc/xmlrpc.inc, which say:
>
> // The charset encoding used in sent messages and expected
> for received responses
> $xmlrpc_defencoding='UTF-8';
> // The encoding used by PHP.
> // String values received will be converted to this.
> $xmlrpc_internalencoding='ISO-8859-1';
>
> You might try changing that last variable to 'UTF-8' and see if
> that solves things.
Tried it but for "åäö" I get the characters
"åäö" back from XMLRPC in a
blogger.getPost. Don't know if that is what should be sent back but
ecto isn't able to interpret it as "åäö".
-Tomas
More information about the pmwiki-users
mailing list