Re: utf-8 encoding, xmlrpc server
Jan Reichmann <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Organization | www.opengroupware.org |
| Message-ID | <[email protected]> |
Please create a bugreport (using bugzilla) and give us an example request. Thanks, jan * Walter Christian <[email protected]> [030919 19:58]: > > Hello, > > I currently have a problem with sending an xml-rpc request to the > opengroupware server. I am using UTF-8 encoding and also verified the > content which is sent over the network. Basically it looks like the > following: > > --- the xml header sent over the network --- > 00012010 20 6b 65 65 70 2d 61 6c 69 76 65 0d 0a 0d 0a 3c | keep-alive....<| > 00012020 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e |?xml version="1.| > 00012030 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 |0" encoding="UTF| > 00012040 2d 38 22 3f 3e 3c 6d 65 74 68 6f 64 43 61 6c 6c |-8"?><methodCall| > 00012050 3e 3c 6d 65 74 68 6f 64 4e 61 6d 65 3e 70 65 72 |><methodName>per| > > -- the content which the converted german sharp s --- > 00012da0 61 6c 75 65 3e 4d 69 63 68 61 65 6c 65 72 73 74 |alue>Michaelerst| > 00012db0 72 61 c3 9f 65 20 34 2f 33 32 3c 2f 76 61 6c 75 |ra..e 4/32</valu| > ^^^^^ > This is the correct utf-8 encoding for german sharp s. > > What I get when I send this content over the network to the OpenGroupware > server is the following XmlRpcException: > > org.apache.xmlrpc.XmlRpcException: PostgreSQL72FatalError: fatal pgsql > error (channel=<PostgreSQL72Channel[0x09F2D73C] connection=0x0A7D2E00>): > ERROR: Invalid UNICODE character sequence found (0xdf65) > > Anybody else has experienced this problem and has a solution for this? > > I am using the following versions of the software: > > 1) apache xmlrpc-1.2-b1 > 2) opengroupware. 1.0-10 xml rpc server > 3) postgresql 7.2.1 > > Regards, > Walter Christian. > -- Jan Reichmann http://www.opengroupware.org -- OpenGroupware.org XML-RPC [email protected] http://mail.opengroupware.org/mailman/listinfo/xmlrpc