CodeIgniter Forums

Full Version: Foreign Characters in xmlrpc->send_error_message('','');
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Hannes Nevalainen[/eluser]
Foreign Characters in xmlrpc->send_error_message('',''); doesn't work.
If i pass this string "Jag är ledsen, men det har blivit fel gär någonstans" in the second argument it will trigger an error...
Quote:The XML data receieved was either invalid or not in the correct form for XML-RPC. Turn on debugging to examine the XML data further.
The XML data returned from XML-rpc server:
HTTP/1.1 200 OK
Date: Fri, 01 Aug 2008 10:05:47 GMT
Server: Apache/2.2.8 (Win32) PHP/5.2.6
X-Powered-By: PHP/5.2.6
Content-Length: 416
Connection: close
Content-Type: text/xml

<?xml version="1.0" encoding="UTF-8"?>
                <value><string>Jag &Atilde;&curren;r ledsen, men det har blivit fel g&Atilde;&curren;r n&Atilde;&yen;gonstans</string></value>
---END DATA---
It works great if I do not use äåö in the error message... I'm not sure this is a big issue since I have all my code in english but I just thought it would be nice if it worked.