I am using the REST interface to create and update tickets, as described in the wiki (http://wiki.bestpractical.com/view/REST). However, I am running into a problem with some custom fields that have a hash/pound symbol (#) as part of the name. Other custom fields work fine.
For example, when attempting to update a ticket I get a response like this:
RT/3.8.1 409 Syntax Error
cf-A Custom Field: aaa
cf-Another Field #: 123
cf-Contact Name: Ryan
I get the same error whether I url encode the data or not. Is there a special way to escape or encode special characters to avoid this error?