From: Phillip Gawlowski Date: 2010-01-16T03:30:07+09:00 Subject: Re: End of line problem with xmlrpc On 15.01.2010 17:46, Hubert Martin-deidier wrote: > Robert Klemme wrote: >> This one irritates me: by using base64 encoding you should be fine, >> shouldn't you? > > I also agree with you, I can even say that I completly agree with you. > I quicky look at source code of XMLRPC protol but I'm afraid that for > base64 there is a stirng conversion that may explain this problem. I'm > not sure of what I'm saying. That's probably the issue. CR and LF are line ending characters. And Windows, Linux, and UNIX deal with them differently. If your string conversion happens on a *NIX, Windows applications won't be able to handle the files gracefully, like Word. (Windows expects CR LF, while Linux produces LF, and Mac OS CR; or something like that). > Someone know If there is a way to look at the XML message sent. In this > way I can determine if the problem is from the client (emission of the > file) or from the server (reception of the file) You could hook up a logger. -- Phillip Gawlowski