[ 
https://issues.apache.org/jira/browse/SYNAPSE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592190#action_12592190
 ] 

Andreas Veithen commented on SYNAPSE-261:
-----------------------------------------

First of all, an additional comment: I think the problem is not limited to the 
VFS transport and that we have a similar problem in 
MailTransportSender#sendMail and in the PlainTextFormatter class added by 
Asankha some time ago.

I was asking myself whether it would not be better to remove the code that 
handles plain text (and also binary data) from the VFS and mail transports and 
use MessageFormatters to handle these cases (with correct character encoding 
handling once and for all). I didn't have the time yet to analyze this further. 
What is your opinion?

> VFS transport doesn't handle text file encoding
> -----------------------------------------------
>
>                 Key: SYNAPSE-261
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-261
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2
>
>
> * VFSUtils#getMessageTextPayload reads the file into a byte[] and constructs 
> a String object from it without specifying the encoding.
> * VFSTransportSender#populateResponseFile uses String#getBytes without 
> specifying the encoding.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to