Mail with French / Spanish accented characters appear as Question marks

Hi
I am facing issues in mails that have French / Spanish accented characters in mail subject.Accented characters appear as Question marks (?) when received in the inbox.Mail subject is read from properties file.
Please let me know the following
- Should I have the entries in properties file in Unicode ? For example French accent character � is represented as á
- Should I replace msg.setSubject(subject); to msg.setSubject(subject,"UTF-8");
Please suggest.
Below is code snippet :
     Session session = getSession();
               // create a message
               Message msg = new MimeMessage(session);
               // set the from and to address
               InternetAddress addressFrom = new InternetAddress(from);
               InternetAddress[] addressTo = new InternetAddress[recipients.length];
               for (int i = 0; i < recipients.length; i++)
                    addressTo[i] = new InternetAddress(recipients);
               msg.setFrom(addressFrom);
               msg.setRecipients(Message.RecipientType.TO, addressTo);
               msg.setSentDate(new Date());
*               msg.setSubject(subject);*
               MimeMultipart mp = new MimeMultipart("related");

String subject = "\u00C 9tat de l'inscription en ligne";You need 4 hex digits after \u. You only included 3.
mailSubject = new String(subject.getBytes(), "UTF-8");
message.setSubject(MimeUtility.encodeText(mailSubject,"UTF-8", "B"), "UTF-8");Remove the above two lines. You're trying to make
this much too hard. All you need is:
message.setSubject(subject, "utf-8");
Should I use ISO8859_1 as Charset or UTF-8 ?I think the characters you're included are
representable in iso-8859-1 so you can use
that.
I am using Outlook express as my mail client. Do we have to decode it ?No.

Similar Messages

  • Some math elements appear as question marks in equations - FM9/Win7Pro

    Hello everyone,
    I am facing the issue that some math elements appear as question marks in equations; for example, the summation and angle symbols.
    The approximately equal or the alpha symbols, for example, appear correctly.
    The symbol font is installed.
    System specs:
    FrameMaker 9 with the latest patches installed.
    Windows 7 Professional with the latest updates installed.
    The strange thing is that math elements appear correctly using virtual computers on my computer (Windows XP and Windows 7 Ultimate on VMWare).
    Same maker.ini file and fonts are present on all (real and virtual) computers. 
    I have reinstalled FrameMaker already on my real computer (where I have the trouble) and it did not solve the issue.
    I have checked (I think) all question mark related topics (when question marks are displayed instead of the correct characters) on this site, but none of them provided the solution to my problem.
    I would appreciate your help!
    Thanks,
    András

    Hi Sheila,
    Thank you for your response.
    I use Adobe PDF as the default printer on both the real and virtual computers and I do not know the SetPrint utility.
    I see the question marks appear in the FM files as well as in the printed PDF. It makes me think it is not a printing issue.
    c:\windows\fonts is provided as the Font Source in the Embedding box for the Adobe PDF printer both on my real computer and my virtual one.
    The SymbolMT font is listed in both cases in the Embedding box, which is (probably) referred to as Symbol Regular when I open the c:\windows\fonts folder using Windows Explorer. No other symbol fonts seem to be installed in this folder. I do not know how to check what other folders FM considers.
    By the way, I can insert the summation character, for example, as a simple character using the Equations editor correctly, the problem comes when I try to insert it as a math element.  
    I have attached an example screenshot.
    Thanks,
    András

  • Images appear as question marks

    I need help! I just uploaded my first dreamweaver website to
    yahoo. My images appear as question marks. I've uploaded the images
    in file manager along with the index.html. The site looks fine when
    I preview in all browsers from dreamweaver. The files are still in
    the same place on my hard drive and there are no broken links. The
    file names are all lowercase and have no spaces. Please
    help!

    A link to the site always helps!
    Sounds like you may have your images defined something like
    <img src='c:\mysite\images\picture.jpg'> (or similar -
    i don't do it so I can't remember the exact syntax of a file path)
    try
    <img src='images/picture.jpg'>
    Again it would be easier to tell if you posted a link to your
    site.
    Andy

  • FontAwesome appears as question marks in FrameMaker 12. I installed the font in the Windows/Fonts folder. Do I need to do something else to get it to work in FM?

    I need to update our fonts/templates to Font Awesome. I downloaded and installed the font in the Windows/Fonts folder.
    The font appears as question marks (????) in place of the text in FrameMaker 12.
    The font appears correctly in other applications, such as Microsoft Word and Outlook.
    I tried this with both FontAwesome.otf and fontawesome-webfont.ttf.
    Do I need to do something else to get this font to work in FM?
    Thanks-
    Stephanie

    Well, if it's any consolation, it does the ????? thing (complete with bad font metrics for the question marks) in FM9, too.
    I'm tempted to blame the font, but it could also be that FM is confused by things that shouldn't be where they are. You'll notice that some of the glyphs aren't given descriptive names in Character Palette.
    For example, code points U+0000 through U+001F. Those are supposed to be the C0 Controls in Unicode, and not displayable glyphs.
    http://www.unicode.org/charts/PDF/U0000.pdf
    Ditto for U+0080 through U+009F, which are the C1 Controls:
    http://www.unicode.org/charts/PDF/U0080.pdf
    The glyphs at these code points should either be in standard Unicode positions (where the glyph is covered by Unicode, such as that left pointing triangle at U+0011, which might have been the same thing as defined by Unicode at U+25C0 or 23F4) or in some Private Use area.
    Ask for your money back .

  • My old iMac (screen sits on a white dome) opens with a tiny folder that flashes a question mark, instead of a login to user's desktop

    My old iMac (screen sits on a white dome) opens with a tiny folder that flashes a question mark, instead of a login to user's desktop, when booting up after a forced shutdown. How do I get my operating system working again? Thanks --Jim

    The blinking question mark indicates that the firmware could not find a valid Operating System on your machine.
    Your harddrive may have failed. Your filesystem may have be come corrupted.
    Try these things.
    -- try to boot up from the installation disc.
    The startup manager will list all of your bootable partitions then give you a choice of which to boot.  Hold down the option key then power on. Continue holding down the option key until you see the startup manager. This brings up the startup manager. Click on your hd or disc. Click on right arrow key.
    -- Sometimes if volumes don't appear in Startup Manager (what you get when you hold down the Option key at startup), you need to reset the Mac's PRAM, NVRAM, and Open Firmware. Shut down the Mac, then power it up, and before the screen lights up, quickly hold down the Command, Option, P, and R keys, until the Mac has chimed twice more after the powerup chime.
    Then, before the screen lights up, hold down Command-Option-O-F until the Open Firmware screen appears. Then enter these lines, pressing Return after each one:
    reset-nvram
    set-defaults
    reset-all
    "The reset-all command should restart your Mac. If so, you have successfully reset the Open Firmware settings."
    http://support.apple.com/kb/TS1812?viewlocale=en_US
    Should the fail...
    Try taking the battery out for 10 minutes.  Put battery back in.  Cross fingers. Power the machine back on.
    How to eject a cd from the internal cd drive:
    eject cd
    List of devices:
    devalias
    List of variables:
    printenv
    More than you ever wanted to know about open firmware
    http://www.firmworks.com/QuickRef.html

  • I have an email account on qou but all the incoming emails subject and body appear as question marks, why???

    I have an email account on QOU (al-quds Open University) but all the incoming emails subject and body appear as question marks, why???

    Try to set the Boolean pref <b>gfx.font_rendering.directwrite.use_gdi_table_loading</b> to <i>false</i> on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

  • I switched to the classic 'landscape' and when i reboot, it just stays at the greay screen, with the macintosh logo, and a blinking question mark. ive tried several methods of key combinations with rebooting etc.. i just bought this. please help.

    i switched to the classic 'landscape' and when i reboot, it just stays at the greay screen, with the macintosh logo, and a blinking question mark. ive tried several methods of key combinations with rebooting etc.. i just bought this. please help.
    I bought this off of craigslist with my christmas money, TODAY. i really need help, i have OS X experience from school, just not OS 9x. I need to reboot back to OS X asap. anything that may help is very appreciated. Thank You.
    Chris.

    Are you able to start up in Safe Mode?
    http://support.apple.com/kb/HT1455?viewlocale=en_US
    If this works you will see the normal desktop Once completely started up in Safe Mode, try to restart normally and go to Applications > Utilities > Disk Utility. Click on the top hard drive icon in the left sidebar and note the S.M.A.R.T. status at the bottom right of the pane. What does it say?
    Select the named boot volume in the left sidebar, ("Macintosh HD" unless it has been renamed). What is the hard drive capacity and how much space remains available on it? Repair permissions on it.
    See if you are able to do a little hard drive maintenance to help things out.

  • When my desktop (Mac Power 5) starts a folder comes up with 2 heads which changes to a question mark. Does anyone know how to fix this.?

    My Husband turned his desktop off without shutting down now When my desktop (Mac Power G5) starts up  a folder comes up with 2 heads which changes to a question mark. Does anyone know how to fix this.?

    Step 1- Try booting to Startup Manager by holding Option/Alt key.
    Select the boot source and click the right arrow.
    Once booted, open System Preferences and select the desired boot volume.
    Replacing the PRAM battery is likely wise if the machine keeps forgetting it's boot source.
    If that doesn't work,
    Step 2-  Boot holding a mouse click, insert the OS X install disc and hold C to boot to the install disc.
    Once booted, open Disk Utility and "Repair Disk" on the boot drive.
    Once done, reboot normally.
    More:
    http://support.apple.com/kb/TS1440

  • Problem with Spanish accented characters in some sites (e.g. "é" shows as "eacute")

    Spanish accented vocals are not being shown correctly at some pages of a site that I use often (https-based online banking). Note that not all pages at that site show this problem.
    On the problematic pages, all accented vocals are shown as a combination of the "&" character plus such vocal (unaccented) plus the "acute" string.
    For example:
    "Información" shows up as "Informaci&oacuten" ---> note that "ó" was replaced by "&oacute"
    "Débitos" shows up as "D&eacutebitos" ---> note that "é" was replaced by "&eacute"
    I tried many Unicode & Western character encoding options, including UTF-8 which is my default option, with no improvements (actually, using any encoding option different from UTF-8 breaks those pages that previously worked fine at that site).
    Note that this happened even before I installed the DownThemAll! extension.
    Internet Explorer does not present this problem.
    Thanks for your support.
    == URL of affected sites ==
    Some internal pages at https://www.argentina.citibank.com (once logged in)

    It is possible that those entities are in the page code as &amp;amp; or that they are missing a closing ';'
    See View > Page Source or select that text and use "View Selection Source" in the right-click context menu.

  • Spanish accent characters are not displayed proper in excel file

    Hi
    I have written a program which displays one report file (.xls file ) on the browser.
    This report file is in spanish language and contains few accent characters like
    ("� � � � � � �"). These characters are not displyed properly in that excel file which is opened in the browser. I have used utf-8 encoding method. I tried with some other encoding methods available. But still this problem continues.
    Kindly provide me help as soon as possible.
    Thanks and
    Regards,
    Deval

    File is generated through a java bean at runtime and it is not stored pgysically.
    If I copy these characters from somewhere to new xls file then it will be displayed properly.
    Sample code which is used for setting headers is as below:
         protected void setContentType (
              HttpServletResponse     p_response
         ,     InstanceData          p_instancedata
              p_response.setHeader ("Cache-Control", "no-cache");
              p_response.setHeader ("Cache-Control", "max-age=0");
              p_response.setHeader (
                   "Content-Disposition", "inline; filename="
              +      p_instancedata.userId
              +      "_"
              +      System.currentTimeMillis ()
              +     ".csv"
              System.out.println("Content generator = ");
              p_response.setHeader("charset","utf-8");
              p_response.setContentType (EXCEL_CONTENT_TYPE);
    For generating this xls file, format of data is XML. Means both request and response data will be in XML format.
    Hope this information help in suggesting any solution for this problem.
    Regards,
    Deval

  • Yahoo Mail On iPad - Attachments Appearing As Question Marks

    A relative of mine has a Yahoo! Mail account which she uses for e-mail on her iPad.
    She's had a problem recently that some of the attachments (JPGs) she's received haven't appeared in the Mail app on the iPad. Instead, they've shown up as question marks in boxes.
    Anyone heard of this happening before? What's going wrong?

    Your yahoo password is the same no matter what platform you access it on.
    How are you trying to get at your mail? via the mail app? yahoo app? or via yahoo's mobile site and safari?
    Try going into the settings, safari, passwords and autofill.
    look for the site in question and tap on it. You may need to enter your passcode to access the info, but once you do you can see the password you used for that site.
    On the main page that lists them all, you can see an 'edit' option. Choose that and you shoudl be able to delete the saved password for the site.

  • French charactoer appear as question mark in unix

    Hi,
    We hve written one PLSQL code to generate report in XLS format which is getting generate using JAVA .
    If i am running query in database french charators are looking fine but once report is getting generate in unix environment charactore are getting change in question mark .The same code works fine in windows..
    Please find code snippet :
    --initialize the o_reportBlob BLOB variable
    DBMS_LOB.createtemporary (o_reportblob, TRUE, DBMS_LOB.CALL);
    --write report title and generated date to the report blob
    DBMS_LOB.writeappend (o_reportblob,
    LENGTH (v_reporttitle),
    UTL_RAW.cast_to_raw (v_reporttitle)
    -- write report Generated Time stamp to the report blob
    -- modify report title to add generated sysdate
    v_reportgendate :=
    CHR (10)
    || 'Generated Date: '
    || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH:MI AM')
    || ' PST'
    || CHR (10);
    DBMS_LOB.writeappend (o_reportblob,
    LENGTH (v_reportgendate),
    UTL_RAW.cast_to_raw (v_reportgendate)
    Please help me its urgent ..
    Thanks in advance .
    Thanks
    saurabh s

    Most probably the font required for this report isn't available in the Unix machine.
    Install the font in unix machine and try..
    Hope this helps

  • Installing Java in Windows7 with JapaneseLang showing ???? Question Marks

    Hi Team,
    Installing Oracle Java in Windows 7 with Japanese Language showing Question Marks silmilar as below in the Installation wizard instead of Japanese/English Characters,
    Java(TM) ?????
    ???????? Java ???????
    ??? OK ???? Java.com ?????
    Is this an issue with Oracle to have the relevant multilingual component to be installed or configured if the OS is running a language other than English.
    Can anyone help to get this clarifed and get sorted out from this issue.
    Thanks in Advance!

    Hi Team,
    Installing Oracle Java in Windows 7 with Japanese Language showing Question Marks silmilar as below in the Installation wizard instead of Japanese/English Characters,
    Java(TM) ?????
    ???????? Java ???????
    ??? OK ???? Java.com ?????
    Is this an issue with Oracle to have the relevant multilingual component to be installed or configured if the OS is running a language other than English.
    Can anyone help to get this clarifed and get sorted out from this issue.
    Thanks in Advance!

  • Why do Hebrew language characters show as question marks?

    On my office web, when an email from Israel is posted , the title is shown as question marks. When I respond or forward a Hebrew text it also comes up as question marks

    Mail encoding suffer from some problems that doesn't exists on the web. It is possible that you are getting these messages from outdated mail software that is unable to encode subjects correctly.
    If this is the case, you may get Hebrew messages correctly, but from some users get it with some encoding problems. I do remember that users whose used hotmail.com was affecting such problems, but I guess Microsoft have fixed it already. On the other hand, some popular web forums software that use email notifications sometimes doesn't encode subjects correctly, and this issue also apply to the software in use by some spammers (but I'd care less about spammers…).

  • Special Characters shown as question marks

    Hi everyone.
    I have an iPhone 4 since December 2010 but im having a problem, everytime i recieve or send a text message with special characters such as:
    ñ á é ç ó etc... i recieve this characters with question mark (?) i called IUSACELL which is my carrier here in México and the told me that this is an iPhone problem because they ran somes test with some iPhones they have there and everything went fine. This is quite annoying.
    The problem showed up when i had iOS 4.3.5, now i'm iOS 5 Beta 5 and is still there!!
    Regards.
    Some images here.
    The word is "Llegué"
    The word is "Quedé"
    The word is "Años"
    The word is "Quién"
    PS. Sorry for my bad english

    Sounds that you have a problem with the font that is used to display those characters.<br />
    You can try some different default fonts (e.g. Arial, Verdana, Tahoma) to see if you can identify the not working font.<br />
    You will have to reinstall or refresh that font.
    *http://en.wikipedia.org/wiki/Punctuation
    *http://en.wikipedia.org/wiki/Dash

Maybe you are looking for

  • Insert From Master Table which is not based on EO

    Hi I have a Master-Detail relationship table page,now my requirement is to Insert data from Master VO(which is not based on any EO) Actually I have added four new columns in the VO,only these four columns are of type message Text Input,all others are

  • Images as Hyperlinks independant of Tomcat server

    we are trying to use images as hyperlinks without deploying the images to Tomcat in Web Intelligence. What exactly I am looking for is to either write a code that allows me to do so or place the image folder outside of Tomcat. Any idea or help will b

  • Receiving multiple notifications for a single event (email, messages)

    Since installing OS X Mavericks I have been receiving multiple notifications - sometimes two or three - announcing the arrival of a single email message. Is there any way to adjust the setting so that I only receive one notification per email or mess

  • Deleted Photos Coming Back to All Photos

    I checked my all photos album today to see that some pictures that I deleted before came back in random parts of the album. these photos were also permantly deleted out of the recently delted album too. I used to use iCloud photo library but now I do

  • Options for Consolidating 2 cubes in 3rd cube

    Hi Guys, I have task to perform consolidating Accounts dimensions from 2 cubes in 3rd cube and generate consolidated income statement and balance sheet reports from 3rd cube. Please let me know the different options to carry out this task. Example: C