Mail receiving attachments in ISO-8859-1 format

I have this weird issue on my brand new Macbook Air. I have google apps and some of the emails attachments I receive seems to be in a ISO-8859-1 format and the extension is changed on mail.
In gmail webmail, the attachments is in the correct format.
Example : Éte_2010.docx become ISO-8891-1?Q?te...docx?=
See the dropbox link for more examples :
https://www.dropbox.com/s/cjnr3gbm4cr06u1/encoding.png
It seems to do this only on attachment with special characters and from certains users (not all my incoming emails do this). The first attachment is always in the good format, if there is more than one attachments, the others seems to change format.
I switched from a 2010 MacBook Pro and mail wasn't doing this.
Thanks!

Hi Jean-Philippe,
Yes, please check my first post, if you use same settings, and create message as mine, it should work, the TestFile is created as an attachment.
Include this line in the module configuration with transform key:
Transform.ContentType: multipart/mixed; boundary=--AaZz;
If you still have issues, please give me a description of the error.
Regards,
Ivan.

Similar Messages

  • Encode a Text to ISO-8859-2 Format

    I have a text like ("one example"). So i want to Encode it into ISO-8859-2 format.for that is there any built-in package or any way . Can anybody suggest me by giving sample code.
    Thanks,
    MaheshM

    You can use convert to convert a text from one characterset to another:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions027.htm#SQLRF00620
    e.g.
    select convert('<your_text>', 'AL32UTF8', 'EE8ISO8859P2') from dualto convert a UTF-8 Text to Latin-2. The text should be encoded in the characterset you passed as source characterset of course.
    cheers

  • Problems creating mail attachment in codepage ISO-8859-1

    Hi,
    i'm sending emails from PI tom our customers. Some of them cannot read the attachements that are created in codepage utf-8.
    Can anyone tell me how to create an attachment in codepage  ISO-8859-1.
    Thanky
    BR
    Ralf

    Hi Ralf,
    I create plain text files.
    also
    actually i´m using an own local ejb to create a nice looking html-email.
    Can u please specify whether the attachment is going as a simple txt file or as  HTML....
    if it is a text file.. then the things are very simple.
    From inbound XML,use the MessageTransformationBean,and specify the FCC(File content conversion)how u want the text file.
    If it is a HTML or XML u can create the payload from the Mapping itself and send it to adapter.
    But make sure that the attachment name is having .htm or .html and content_type is text/html
    Babu

  • XML Encoding Issue - Format UTF-16 to ISO-8859-1

    Dear Groupmates,
    I have data in my Internal table which i am converting to XML using custom Transformation.
    Data is going to third party.The third party system requires data in ISO-8859-1 Format but SAP is generating the same in UTF-16 Format.I have been able to change the format of file from
    utf-16 to ISO-8859-1 format but after conversion i am getting invalid tag information in form of characters
    like &lt , &gt etc..in my file.
    Here is the code i have used to set the encoding to ISO-8859-1 :-
    DATA: xmlout TYPE xstring.
    DATA: ixml TYPE REF TO if_ixml,
    streamfactory TYPE REF TO if_ixml_stream_factory,
    encoding TYPE REF TO if_ixml_encoding,
    ixml_ostream TYPE REF TO if_ixml_ostream.
    ixml = cl_ixml=>create( ).
    streamfactory = ixml->create_stream_factory( ).
    ixml_ostream = streamfactory->create_ostream_xstring( xmlout ).
    encoding = ixml->create_encoding(
    character_set = 'ISO-8859-1' byte_order = 0 ).
    ixml_ostream->set_encoding( encoding = encoding ).
    Sample Output :-
    <?xml version="1.0" encoding="iso-8859-1"?>
    <AMS_DOC_XML_EXPORT_FILE><AMS_DOCUMENT AUTO_DOC_NUM="FALSE" DOC_CAT="CA" DOC_CD="CA" DOC_DEPT_CD="045" DOC_ID="XR10281060830400001" DOC_IMPORT_MODE="OE" DOC_TYP="CH" DOC_UNIT_CD ="NULL" DOC_VERS_NO="01">
    <CH_DOC_HDR AMSDataObject="Y">
    <DOC_CAT Attribute="Y">&lt;![CDATA[CA]]&gt;</DOC_CAT>
    <DOC_TYP Attribute="Y">&lt;![CDATA[CH]]&gt;</DOC_TYP>
    Please let me know if anyone has idea how i can get rid of the invalid tag information.
    Thanks !
    With Regards,
    Darshan Mulmule

    Darshan,
    Did you get an answer for this question? We have same requirement to create XML file in ISO-8859-1 format with Attributes is set to "Y" and CDATA is being used for data.
    Can you please let me know if you still remember how did you achieve it?
    Satyen...

  • How to switch DB string storage format from/to UTF-8 to/from ISO 8859-1 ?

    As far as I understand strings in tables are stored by default in an Oracle DB in ISO 8859-1 format.
    How can I switch the storage to UTF-8 format?
    Do I have to change just a parameter (which ?) or do I have to setup/install the whole DB again?
    If just a parameter switching is necessary:
    How can I change already existing strings from one format to another?
    Does it take place automatically or do I have to issue and explicite convert command (which ?).
    Peter

    Please refer to
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm#sthref157
    And
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#sthref1476
    Sybrand Bakker
    Senior Oracle DBA

  • Nerving Problem with UTF-8 and ISO-8859-1

    Hi,
    I´m looking for a solution to serve this problem for many hours now, maybe someone can help me:
    1.) We need to send our Mails with the ISO-8859-1-Charset because otherwise Windows-Users get the text in the message twice: once as plain, and after a question mark formated. So I changed the NSPreferredMailCharset in the com.apple.mail.plist to ISO-8859-1:
    defaults write com.apple.mail NSPreferredMailCharset "ISO-8859-1"
    2.) So far so good. It works until I add an attachment to a message. Adding an attachment forces the sending of the mail again as Unicode (UTF-8). I could change the encoding manual, but thats not the way we can work in our company.
    My question is: is there any way to force mail to encode as ISO-8859-1? It can´t be that we have to change the encoding for every message.
    Thanks a lot
    florian
    PS: I´m not sure if this is important: we use the osx in German.

    I was thinking that since he is from Austria & references a company, there is a very strong possibility that the character "€" (the Euro currency symbol, Unicode 20AC, UTF-8 E2 82 AC) would frequently appear in messages.
    Even if he sets a preference for ISO-8859-1 as the default with Terminal, or manually changes messages to ISO-8859-1, it would not be possible to include this symbol in such messages, since there is no "€" in ISO-8859-1.
    Similar problems would occur with other symbols sometimes used in business (for example "™"), in engineering ("Ω"), in mathematics ("∑"), or even with some general punctuation marks such as the dagger ("†").
    Other possible problems are the use of other currency symbols the Euro replaced (the franc's "₣" or the lira's "₤") or others still in use (the Israeli new sheqel's "₪ or rupee's "₨"). Ligatures in an international environment would really complicate things as well, as this Wikipedia article about the Œthel illustrates.
    Note that in none of these cases would the presence or absence of an attachment matter -- ISO-8859-1 simply isn't up to the task.
    I suspect that in some cases, if it is possible, setting the default to Windows-1252 (Windows Latin 1 in Mail's list?) would help, since it does include at least the Euro & dagger. I haven't played around with this much, but I do note that in a new message window containing "€" in the body, if I set the text encoding to Windows Latin 1, Automatic, or UTF-8, Mail doesn't complain, but if I set it to ISO Latin 1, I get an error saying the message can't be saved & an "Invalid Text Encoding" alert if I try to send it.
    As for how messages are received at the other end, Windows apps (not just Outlook) are notorious for continuing to use non-Unicode API's even after the OS itself has long since moved to Unicode as its internal standard. Some of them employ bass-ackwards fixes like deciding ISO-8859-1 declarations are supposed to be Windows-1252 ones. Worse, Windows itself sometimes seems to interpret a few Windows-1252 code positions as their ISO-8859-1 control equivalents!
    All this makes life that much more complicated for people trying to avoid problems like the above.

  • Replies are sometimes using ISO-8859-1character set

    Hello,
    I am using iCloud - and iCloud Mail - in OSX 10.10.2 Yosemite on Macs (several different Macs).
    Sometimes  -- rarely -- when I do a reply to all and I look at the reply I mailed out under the "Sent" tab, I see that the whole reply is "garbled".
    Loads of A's and 0's.
    The actual reply is preceded with a text that resembles this (the numbers change from reply to reply):
    Quote
    --Apple-Webmail-42--c10907ed-7ae8-475d-80.....followed by more numbers
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
        charset=ISO-8859-1;
        format=flowed
    Unquote
    The above "header" is followed by my reply that is completely garbled up too.
    How can I avoid this formatting from happening?
    Thanks in advance for your help.

    LDAP is UTF-8 and Oracle is set to ISO-8859-1. Now
    the problem is user info goes Oracle first and is
    being validated by another UTF-8 based application
    and then goes to LDAP. You are lucky things start in ISO-8859-1, because it encodes a proper subset of UTF-8. However, for characters beyond 127, UTF-8 encodes the character differently than ISO. Consequently, on the transition between Oracle and the UTF-8 based application, characters need to be recoded. Similarly, when characters come out of LDAP in UTF-8, they must be recoded to ISO if this is the encoding of your pages.
    In this process all the
    characters are getting distorted and I cannot change
    LDAP and Oracle default charsets.Well, then there is no way around a recode. You cannot even try to trick the UTF-8 based application if it is slightly picky, because some ISO codes are simply illegal in UTF-8. The other way round would work: store UTF-8 in an ISO based application without recoding. At some point the ISO based application would just see two funny characters where there is only one, but as long as this does not distort any alphabetical sorting or even presentation to a user, you would just not care.
    Harald.

  • Convert XML-String from Codepage utf-16 to ISO-8859-1

    Hi to all experts,
    our system is now unicode with codepage 4102 (UTF-16) and we do an Simple Transformation for creating an XML-String.
    before UniCode : xml_data = <?xml version="1.0" encoding="iso-8859-1"?>#<transactionRequest userID=" .......
    now with UniCode : xml_data = <?xml version="1.0" encoding="utf-16"?>#<transactionRequest userID=".......
    The xml_data transfered to an external Sytem via HTTPS- Communication direct from ABAP.
    The external Sytem send an Error Request:
    <?xml version="1.0" encoding="ISO-8859-1"?>#<transactionResponse>#    <transactionErrorResponse>#        <errorResponse>#            <errorCode>SYS-0001</errorCode>#            <errorDescription>java.lang.Exception: null[ #<?xml version="1.................
    Have you any idea
    Thanks for your help!
    Peter
    Edited by: Peter Pforr on Sep 25, 2008 9:59 AM
    Edited by: Peter Pforr on Sep 25, 2008 10:14 AM

    Darshan,
    Did you get an answer for this question? We have same requirement to create XML file in ISO-8859-1 format with Attributes is set to "Y" and CDATA is being used for data.
    Can you please let me know if you still remember how did you achieve it?
    Satyen...

  • Retrieve mail pdf attachment in xstrinf or otf format.

    Hi,
    as in the Subjesct I must retrieve from mail the attachments that are in pdf format and convert then in xstring or otf format, then archive the documents in DMS server.
    It's possible?
    Thanks for answers.

    Hi,
    In SAP we execute function SX_OBJECT_CONVERT_OTF_PDF which generates binary context for a PDF document.
    Or check the below code
    data: l_pdf_xstring  type xstring,
            lt_lines       type table of tline,
            ls_line        type tline,
            l_pdf_len      type i,
            itab           type TSFOTF,
            witab          type ITCOO,
            tmp_line       type STRING,
            tmp_header     type STRING.
      tmp_header = 'BSP to PDF'.
      tmp_line = file_content.
      CONCATENATE
        tmp_header
        tmp_line
      INTO tmp_line IN CHARACTER MODE.
      APPEND tmp_line TO itab.
      call function 'CONVERT_OTF'
           exporting
             format                      = 'PDF'
           importing
             bin_filesize                = l_pdf_len
             bin_file                    = l_pdf_xstring
          tables
             otf                         = itab
             lines                       = lt_lines
           exceptions
             err_max_linewidth           = 1
             err_format                  = 2
             err_conv_not_possible       = 3
             err_bad_otf                 = 4
             others                      = 5
      if sy-subrc EQ 0.
        response->set_header_field( name  = 'content-type'
                                    value = 'application/pdf' ).
        response->set_header_field(
                           name  = 'cache-control'
                           value = 'max-age=0' ).
          response->set_header_field(
                             name  = 'content-disposition'
                             value = 'attachment; filename=test.pdf' ).
        l_pdf_len = xstrlen( l_pdf_xstring ).
        response->set_data( data   = l_pdf_xstring
                            length = l_pdf_len ).
        navigation->response_complete( ).
      ENDIF.
    Edited by: Raj on Jul 26, 2010 2:02 PM

  • Convert a UTF-8 string to ISO-8859-1 string

    Hello. As you can see from my other post, I am working on internationalization. I could not find an appropriate entry in the forum already.
    I want to convert form data (submitted from an HTML UTF-8 charset page) from the UTF-8 format to ISO-8859-1 format. How do I do that?
    I.e.
    String utfFormat="&#35222;&#32884;&#32773;";
    String isoFormat="";
    // Do magic here
    System.out.println(isoFormat); // out: "&#12375;&#12390;&#12398;" (or whatever it is)
    Can you help?
    Dailysun
    null

    As I said in the other thread (did you read that, BTW?), you shouldn't have to bother with actual character-set conversions. You just tell the InputStream what the Charset is when you read it in, and the OutputStream what Charset to use when you write it out.
    What you're doing is escaping characters by replacing them with numeric entity references--the opposite of what you asked in the other thread. The process is just as simple: cast the char to an int, convert that to a string with String.valueOf(int), and add the "&#" and ";". You can use a regex-based approach like I did over there, but going in this direction, it will be just as easy without them.
    Hiwa, check out that other thread; I think you'll find it amusing (in light of that second link you posted).

  • Mail Receiver - Send file in ISO-8859-1 encoding

    Hi,
    I'm sending mail with an attachment using mail adapter, but instead of specified ISO-8859-1 it is converted to UTF-8 no BOM,. Because of that, some characters (ñ,ç, etc) are not transferred properly.
    Settings:
    Message protocol: XIPAYLOAD
    No mail package.
    Transform.ContentType: multipart/mixed; boundary=--AaZz; charset=ISO-8859-1
    Payload:
    multipart/mixed; boundary=AaZz; charset=ISO-8859-1</Content_Type><Content>--AaZz
    Content-Type: text/plain; charset=ISO-8859-1
    Content-Disposition: inline
    File attachment
    AaZz
    Content-Type: text/plain; charset= ISO-8859-1
    Content-Disposition: attachment; filename=TestFile
    iso-8859 characters ñ ç ñ ñ
    AaZz--
    </Content></ns:Mail>
    I need advice in how to force the file to be created with ISO-8859-1 enconding.
    Thanks in advance.
    Regards,
    Iván.

    Hi Jean-Philippe,
    Yes, please check my first post, if you use same settings, and create message as mine, it should work, the TestFile is created as an attachment.
    Include this line in the module configuration with transform key:
    Transform.ContentType: multipart/mixed; boundary=--AaZz;
    If you still have issues, please give me a description of the error.
    Regards,
    Ivan.

  • Problems with receiving attachments in Mail

    Hi. Can somebody help me. I work in Mail but keep on having problems receiving attachments from my clients (most of whom use Microsoft). I seem to receive their attachments in a 'dat' format - which does not open. Is can this be fixed? As always thank you all!

    Josh Jacob - TNEF's Enough

  • When i send an e-mail with attachments to one of my contacts, they says they did not receive.

    When I send an e-mail with a pdf attachment, my boss says she did not receive it. My SENT folder indicates that the e-mail and attachments were sent. I have not received an error message and I have checked the e-mail address 6 times. My bosses' e-mail address is in my contacts.
    No one else is complaining about this.

    search google for "iphone remove picture from contact"

  • I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. Some contacts have problems opening files sent by me using Mail too. This was never a problem on pre-Intel. A real Mac **** up !

    I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. And some contacts occasionally have problems opening files sent by me using Mail too. This was never a problem on pre-Intel Mac. A real Mac **** up ! Any ideas ?

    Can you drag and drop the attachments visible in the email to the Desktop OK or does that fail ?
    Re the sending: Are these recipients on Mac's or PC's as the file type could be an issue, if on Mac's then try setting the Mail Preferences Composing setting to Plain Text not Rich Text and see if that improves things.

  • Windows users are not receiving attachments sent out of Mail

    I am a consultant. I use Mail in Snow Leopard. Software is up to date.
    Our business uses Microsoft Exchange Server 2003. All other consultants in the company are using Windows. In Mail I connect via IMAP. It has worked flawlessly until recently.
    Recently, my corporate clients (various clients not related to one another nor using the same email server) have complained that they are not receiving my email attachments. It is not universal. It is inconsistent, even with the same client. Sometimes the attachments are there and sometimes not.
    I have verified two things. 1) That the attachments are present in the emails in my outbox. 2) That the emails leave our server with the attachment (I accomplished this by contacting our Microsoft Exchange service provider and giving them examples, which they tracked down and verified that the emails left them with the attachments.).
    Our service provider suggested that Mail is adding something to the email that is causing Outlook (the common denominator is that the clients receiving the emails are all on Outlook) to strip the attachment. Or, the antivirus is stripping it. Something about the Mail email is causing Outlook or some antivirus software to strip the attachments.
    Has anyone else encountered this? Is there something that can be done?
    Right now I've had to go to Thunderbird in order for my attachments to be received. I'd rather stay with Mac all the way, but I cannot trust that my clients will receive attachments.
    I'm hoping that when our company changes to MS Exchange Server 2007, that the problem will go away, since Mail can interface with the 2007 version directly. But, until then, I would really like to stick with Mail, if I can find a work around.
    Thanks.
    Matt

    I am now having exactly the same problem.  But here is a new wrinkle.  ALL the persons having the problem you describe - that attachments are stripped off - are using cox.net as their e-mail provider.   I am not saying that all cox.net mail users are having the problem, but those having the problem are among the cox.net e-mail users.  None of my recipients using aol.com, yahoo.com, gmail.com, verizon.net, zona.net, etc. are having any problems.  Only some of the cox.net e-mail users. 
    I suspect but have not checked that they are all PC users (I use a Mac with Mail) and, now that I have become aware of this thread, I will check if they use Outlook.
    It started a few months ago.  I had no problems before and now this, with the same people.  Obviously something must have changed but what?
    Please let me know if you have found anything more about this - or even a solution?  :-)

Maybe you are looking for