Troubleshooting getting Japanese charset from Imap server.

i have some content in japanese.
the charset is ISO-2022-JP.
i have the content in a StribBuffer format.
how can i read it in the proper format.
I suppose such an answer can be generalized to any inetrnational charset.
thanks for your help.
pascal.

convert your international charset content to ISO-8859-1.
and set your Browser to select automaticaly th appropriate language.
String contentString;
byte[] byteLocalizedContent= contentString.getBytes(contentParts.getCharset())
String localContent = new String(byteLocalizedContent, "ISO-8859-1")
pascal.

Similar Messages

  • Can't get mail folders from IMAP server, why?

    I set up my IMAP mail server, but i only see the inbox and not the other mail folders in the in the mail server.
    why can i get my other mail folders from ther server?
    Ram

    Allan - Here's the other odd thing. Currently, I have my old mail account AND my new MM account both feeding into and out of Outlook. But since adding my MM acct. - even though I set it as my default mail acct. - the hierarchy tree of Outlook folders is still treating my old acct. as king and my new MM acct. as second class. I know, what's that mean? I have my overriding "Personal Folders" folder, with the sub-folders (in addition to customized ones I added) - all of these at the same level - 'Deleted Items'; 'Inbox' (for my old account); 'Junk E-mail'; 'RSS Feeds'; 'Sent Items' and "Search Folders". Then, below that, but at the same hierarchy level as "Personal Folders", I have my MM's root of an IMAP store folder that has as its name my email address, including the "@me.com". Under that, at the same level of importance as my 'Deleted Items', etc. for my old account is my MM account's "Inbox", "Junk E-mail", "Sent" (which, like I said, I created when I sent the first email from my newly created MM account), and "Search Folders"... that's it. If I delete an email from my MM acct., or am in the process of creating an email in my MM acct., I can only find it in the aforementioned "Deleted Items" or "Draft" folders, as my MM acct. doesn't have these. Is this perhaps one indicator of my sent mail synching problem? Or does one have nothing to do with the other? Does Outlook only provide one each of "Drafts", "Deleted Items" and "Outbox" that all accounts share?

  • Can not get an ip from pppoe server

    Hello,
    i have this problem with linksys WRT54GL it's can not get ip from server but the problem with with the router not the isp coz i used another router WRT54S it's work great,
    i'm using the last update for WRTS54GL V1.1 (4.30.14).
    THE PROBLEM FROM ROUTER I THING FROM THE SOFTWARE 
    IS THERE ANY SOLUTION FOR THIS ???
    THANKS 

    Thanks for replay 
    first the modem work as bridge 
    the router can not connect to the server 
    in status page the error is "can not get an ip from pppoe server" when i used the WRT54GL
    if i used other router (WRT54GS) it's connect and get ip and DNS on the status page 
    the user and password is correct .
    the router(WRT54GL)  work when i used DHCP  but not connect when i used PPPOE protocol 
    1.WORKING     modem(bridge)------>router (WRT54GS)PPPOE----------> Router (WRT54GL)DHCP-------> PC
    2.WORKING     modem(bridge)------>router (WRT54GS)PPPOE-------> PC
    3.NOT WORK   modem(bridge)------>Router (WRT54GL)PPPOE-------> PC
    i need the third scenario.
    i think the problem with the router not with the configuration.
    Thanks

  • How can synchronized local imap folders be migrated to a new computer, without new download from imap server, so that everything is working as before?

    How can synchronized local imap folders be migrated to a new computer, without new download from imap server, so that everything is working as before?
    I only managed to import synchronized folders (from old computer) to local folders in thunderbird at the new computer. Then I tried to move the messages to the folder of the imap account at the new computer where I temporarily limited the synchronization to one month. When I remove this limit the thunderbird program starts to redownload all the messages again nonetheless.
    Since I have a dual boot system (Windows/Linux, thunderbird is installed twice) and have to pay for every megabyte, this is very annoying.

    Have you considered using a shared profile folder for the dual boot? so the two remain in sync?v It will require a drive both operating systems can access, but most people who dual boot have such. http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird
    otherwise copy the entire profile, not parts of it.

  • Unable to get ip address from DHCP server for Aironet 1130AG Access Point

    I have a network in which DHCP server is enabled. I have read the installation guide also there it is mentioned that 1130G Access point will not have any staic ip assigned to it.So it will automatically get the ip from the DHCP server from the network. I have connected that from the network but it is unable to get the ip address from the same. The same thing i have configured in the netgear it is coming fine. I have seen the sonic wall and used the IPSU tool also from checking the ip address from Mac Address but i am not able to get the same. Please provide me some tips to check where i am wrong in configuration because the first web page also not coming because of the ip address.

    narendra,
    I would suggest that the AP be connected to a laptop or desktop pc that would run a local dhcp server with a small scope setup...plenty of free ones on the web(this pc would obviously not be connected to your currnet network). This way you can watch the dhcp server hand the AP it's address (this can take a few minutes). Once you have the address use it to access the GUI and give the AP a static address (I find it good pratice to give all my autonomous AP's static addresses for ease of troubleshooting)...Hope that helps.

  • Mail stopped picking up new mail from IMAP server [MDaemon]

    I've been using Mail to pick up my mail from a number of different mail accounts (MobileMe, Gmail and work mail). Everything has worked fine until a couple of weeks ago when mail stopped picking up new mail from my work mail account.
    I have tried deleting the mail account and setting it up again - all that did was to lose the cached mail on my machine, although it picked up the folders from the imap server and it's looking in the folders for mail [I can see that from the Activity Window]. It also seems not to delete everything as, when I went to set it up again, the email address field was already defaulted to the one for the account I had previously deleted.
    I then tried creating a new user on my laptop and setting up the work mail account under this user. It worked perfectly - it went off and got all of the mail from the server (OK by me) and started picking up the mail OK.
    So I'm guessing that if I can really delete the mail fully from my main user, I could reintroduce it and all would be well. However, I've scanned the whole disk for my email address and deleted (after backing up) all files I found with the address in. Again, it still seemed to know about the account I removed.
    Anyone any ideas?

    Troubleshooting Apple Mail
    What does Mail/Window/Connection Doctor Show? If the server is red, select it and look at the Show Details box.
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • How to delete messages from IMAP server but keep on computer???

    Hi
    I am using Mail to receive my email messages from the University's IMAP server. My problem is that I need to keep copies of my sent and received emails for archives on my computer but not on the server because space is limited. However, when I check the 'remove messages from server' box in the preferences, it also removes them all from my Mail inbox and sent mail folders. Consequently, I'm constantly needing to go to the server (once a week) and manually delete the messages when my folder is too full and then I lose all of my messages.
    Can someone please tell me how I can keep all of my sent, received and trashed emails on my computer without them being stored on the server?
    thanks
    adam

    Eric is right. An IMAP account is designed specifically to keep email on line, on a server somewhere on the planet. That way you can use any machine anywhere and see your email. A POP account is designed to actually download your email to the specific machine that you are using and remove it from the server. Although there are ways around that...
    So if you want to keep an email on your computer and you want to delete it from the server, you have to make an "On my Mac" mailbox.

  • Getting User projects from Collab Server

    Hi, How can I retrieve user projects from collaboration server from a portlet using EDK?

    Hi,
    Here are two ways for your reference:
    1. Use ensureUser Method in the JS Client Object Model:
    http://msdn.microsoft.com/en-us/library/ff408786.aspx
    2. Use the SPServices
    jQuery library to achieve it.
    http://stackoverflow.com/questions/5542208/sharepoint-2010-use-spservices-to-get-a-users-id
    http://spservices.codeplex.com/wikipage?title=Users%20and%20Groups
    http://devspoint.wordpress.com/2012/07/17/jsrender-spservices-and-user-profiles/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Emails not deleted from IMAP server

    For some days I have the problem that my emails which I deleted on my iMac in Apple Mail still stick on the IMAP server (web.de).
    I didn't change any preferences in Mail. I double checked all settings.
    This problem occurs in Apple Mail on the desktop only. Mail on iPhone does delete the emails on the server successful.
    The other way around: When I delete an email on the desktop the same email disappears in iOS Mail too!!! But it still sticks on the IMAP server. Really strange.
    The only way to get rid of deleted emails is to force the deletion via the Mail sidebar, right click on the account name and click the menu item "delete mails... " or so.
    The support of my provider has no clue how to solve this.
    Any idea?
    Mail 8.2
    OS X 10.10.2

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • How to get text file from app server and process it.

    Hello experts,
    I created a test data based form my recording. Now, I do not know where can I find it.
    Also, I want to create a program that lets users input the file name in the input parameter
    (selection screen) and it would automatically process/split that file. Again, thank you guys
    and take care!

    hi viray,
    im sorry i thought it was reading from presentation server....:-)
    >>I want to create a program that lets users input the file name in the input parameter
    (selection screen)
    at selection-screen on value-request for p_file.
    perform file_help using p_file.
    form file_help  using  p_p_file.
    call function 'RZL_READ_DIR_LOCAL'
    exporting
    name = p_dir
    tables
    file_tbl = t_filetab
    EXCEPTIONS
    ARGUMENT_ERROR = 1
    NOT_FOUND = 2
    OTHERS = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endform.                    " file_help
    Splitting File and path.
    use the FM <b>SO_SPLIT_FILE_AND_PATH</b>
    hope this helps,
    do reward if it helps,
    priya.
    Message was edited by: Priya

  • Class to Get File List from Application Server

    Hi all
    I've to obtain the file list of a directory from application server, I can use a FM too but It's possible the lenght of file name is upper then 40 characters so I can't use FM EPS_GET_DIRECTORY_LISTING.
    Thanks
    Edited by: Aristoteles92 on Apr 20, 2010 3:27 PM

    Try using the function  RZL_READ_DIR_LOCAL.  Here is an example program using this function.
    data: begin of itab occurs 0,
          rec(1000) type c,
          end of itab.
    data: wa(1000) type c.
    data: p_file type localfile.
    data: ifile type table of  salfldir with header line.
    parameters: p_path type salfile-longname
                        default '/usr/sap/TST/DVEBMGS01/data/'.
    call function 'RZL_READ_DIR_LOCAL'
         exporting
              name           = p_path
         tables
              file_tbl       = ifile
         exceptions
              argument_error = 1
              not_found      = 2
              others         = 3.
    loop at ifile.
      format hotspot on.
      write:/ ifile-name.
      hide ifile-name.
      format hotspot off.
    endloop.
    at line-selection.
      concatenate p_path ifile-name into p_file.
      clear itab.  refresh itab.
      open dataset p_file for input in text mode.
      if sy-subrc = 0.
        do.
          read dataset p_file into wa.
          if sy-subrc <> 0.
            exit.
          endif.
          itab-rec = wa.
          append itab.
        enddo.
      endif.
      close dataset p_file.
      loop at itab.
        write:/ itab.
      endloop.
    Regards,
    Rich Heilman

  • Why am I unable to send e mails from my IPhone or IPad and get message rejected from outgoing server, message placed in outbox

    Why am I unable to send e mails from my iPhone, and get message rejected by server and message put in outbox.  I have tried changing server ports but to no avail.  I am not very technically minded so any suggestions in laymans terms please.  This is a big problem as I work away frequently and need to answer e mails.  This also happens when at home and on my own wifi.

    Hey Pam3008
    The article below will give some troubleshooting steps to resolve Mail issues.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • How to get sent mail from Gmail server onto my mac

    I recently upgraded to Snow Leopard. When configuring Mail I used POP ( I prefer it) with my Gmail account and it tediously uploaded all my received mail from the Gmail server to my mac mail program. How do I get the sent mails on the Gmail server onto my computer?

    Not sure if this will work as I use IMAP. Go to Mail>Preferences>Accounts> click on mailbox behaviour, uncheck 'store sent messages on server' if it is checked. Then try a fetch mail and see if it works.

  • How to get all users from the server....?

    Hi all,
    in my application i want to get all possible users present in the PORTAL-EP Server
    and set them into the drop down.
    is there need to login in the portal as a admin or other user to get the all users present in the Server.
    Regards,
    Deepak

    Hi! Deepak,
       you can use UME API to get all the users of EP in WebDynpro appl.
    Herewith i am giving you the UME API link --
    <a href="http://help.sap.com/javadocs/NW04/current/um/index.html">http://help.sap.com/javadocs/NW04/current/um/index.html</a>
    i am giving the code also to get all the users from LDAP.
       IPublic<ComponentName>.IUserIDElement userIDNodeElement = null;
    IUserAccountFactory accountFact = UMFactory.getUserAccountFactory();
    MessageManager msgMgr = (MessageManager)wdThis.wdGetAPI().getComponent().getMessageManager();
    try {     
    IUserAccountSearchFilter accountSearchFilter  =  accountFact.getUserAccountSearchFilter();
    accountSearchFilter.setLogonUid("*",ISearchAttribute.LIKE_OPERATOR,false);
    ISearchResult srchRslt = accountFact.search(accountSearchFilter);
       while(srchRslt.hasNext()) {                    
                    userIDNodeElement = wdContext.createUserIDElement();          String uniqueID = (String)srchRslt.next();
         IUserAccount userAccount = accountFact.getUserAccount(uniqueID);
         String LogonUid = userAccount.getLogonUid();
         userIDNodeElement.setCtx_UserID(LogonUid);
         wdContext.nodeUserID().addElement(userIDNodeElement);
        } catch(Exception exc) {
                  msgMgr.reportWarning(umException.toString());
    regards,
    Mithilehwar

  • FM to get the file from application server to presenatation server automati

    Hi!
    In my upload program I am egtting the error log file onmy application server directly. Is there a function module or a way that in my abap code I can mention to bring the file or transfer the file to the presentation server . As my program is been run in the back ground so I cannot directly get the file on the presenattion server, so I need to bring it back on teh presentation server back to see teh eror log.
    I would like my program to do the transfer in background itself so that I can see the error log on a daily basis from my local file .
    Thanks
    when 'X'.                      "X is application server
    *         TRANSLATE p_err USING '\/'." correct slash for unix
          open dataset p_err2 for output in text mode encoding default.
          if sy-subrc = 0.
            loop at t_err into s_nts.
              transfer s_nts to p_err2.
              if sy-subrc ne 0.
                message i010(ad) with p_err2 'Download Failed'.
              endif.
            endloop.
            close dataset p_err2.
          else.
                message i010(ad) with p_err 'dataset could not be found'.
            sy-subrc = -1.             "Maintain error condition
          endif.
    *        endif.
          when ' '.                      "Blank is presenation server
            translate p_err using '/\'."correct slash Dos file
            call function 'DOWNLOAD'
              EXPORTING
                filename = p_err
                filetype = 'ASC'   "FTYPE set to DAT in DATA seg
              TABLES
                data_tab = t_err.
            if sy-subrc ne 0.
              message i010(ad) with 'File ' p_err 'cannot be located.'.
              sy-subrc = -1.             "Maintain error condition
              exit.
            endif.
        endcase.
      ENDIF.
    Thanks

    SO , after reading all , I assume that there is no way in which when I run the background job and get a errro file on application server can be retrievd on my presenattion serevr during the background job run. I was thinking that theer might be a functionn module which will convert the application server file into presenttion server file during the program run in background and store it in the location provided.
    I was trying to use FM  CALL FUNCTION 'C13Z_APPL_TO_FRONT_END' and  CALL FUNCTION 'ARCHIVFILE_SERVER_TO_SERVER' but using teh first one asks for source file and destination file name during teh program run and as it runs in background it cannot be provided again and again and teh second one dosent seem to work.
    Thanks

Maybe you are looking for