• Subject field in mail sent by fileSendr DISPLAYS INCORRECTLY ACCENTED CHARACTER

    By Steve Dionne 1 decade ago

     

    Found an IBM technotes about this:
    
     
    
    <a href="http://www-01.ibm.com/support/docview.wss?uid=swg1LO46275">http://www-01.ibm.com/support/docview.wss?uid=swg1LO46275</a></div>
    
    LO46275: LOTUSSCRIPT NOTESMIMEHEADER.SETHEADERVAL DISPLAYS INCORRECTLY ACCENTED CHARACTER
    
    &nbsp;
    
    Local fix:
    
    Use doc.Subject
    
    &nbsp;
    
    so in our case, How to fix it?
    
    &nbsp;
    
    In Custom Controls
    
    &nbsp;
    
    Open browser_sendFiles
    
    &nbsp;
    
    In the Source code look for these lines:
    
    &nbsp;
    
    // Setup the MIME Subject Header
    
    var mailMIMEHeaderSubject:NotesMIMEHeader = mailMIME.createHeader(&quot;Subject&quot;);
    
    mailMIMEHeaderSubject.setHeaderVal(applicationScope.emailPreSubject + &quot; : &quot; + thisDoc.getItemValueString(&quot;file_Subject&quot;));
    
    &nbsp;
    
    Add commentary symbol// to them
    
    // Setup the MIME Subject Header
    
    //var mailMIMEHeaderSubject:NotesMIMEHeader = mailMIME.createHeader(&quot;Subject&quot;);
    
    //mailMIMEHeaderSubject.setHeaderVal(applicationScope.emailPreSubject + &quot; : &quot; + thisDoc.getItemValueString(&quot;file_Subject&quot;));
    
    &nbsp;
    
    Then add these lines instead:
    
    var thisSubject:String = applicationScope.emailPreSubject + &quot; : &quot; + thisDoc.getItemValueString(&quot;file_Subject&quot;);
    
    mailDoc.replaceItemValue(&quot;Subject&quot;,thisSubject);
    
    &nbsp;
    
    Tested here and works fine now with accented char in subject line.