A guess: does it work if you set url-request-data
to
(encode-coding-string (concat "<?xml etc...") 'utf-8)
instead?
There's nothing really to tell url what coding system you use, so I guess you have to encode your data yourself. This should also give a correct Content-length
header, as that just comes from (length url-request-data)
, which would obviously give the wrong result for most UTF-8 strings.
legoscia
2009-08-26 18:31:18