The API.get_buckets method now correctly returns a
conformant array of value/string elements. BUT, since
Im Norwegian I have defined a bucket which contains
Norwegian characters. This is quite ok for POPFile
(since IE plays nice with the Norwegian characters)
but it confuses xml-rpc which encodes the bucket name
in base64. Here is a snippet of the result:
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<string>alert</string>
</value>
<value>
<string>inbox</string>
</value>
<value>
<string>ncover</string>
</value>
<value>
<string>nnug</string>
</value>
<value>
<base64>cHJvc2pla3RfcvhkZWtvcnM=</base64>
</value>
<value>
<string>sourceforge</string>
</value>
<value>
<string>spam</string>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
The actuall value xml encoded is:
prosjekt_rødekors
(here's a ref to the unicode character
http://www.mathmlcentral.com/characters/glyphs/OSlash.h
tml)
Clearly, the bucket name should have been xml encoded
instead of converting the characters to a byte array.
This totally confuses xml-rpc clients (in my case, xml-
rpc.net) since a string value is expected where the
base64 value occurs.