Character sets in RTF messages not working with RTFEditorKit

I'm using RTFEditorKit.read() to get the text from an RTF document. The text is written in Russian and starts with the following
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fprq2\fcharset204{\*\fname
Times New Roman;}Times New Roman CYR;}{\f1\fswiss\fprq2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue128;\red0\green0\blue0;}
\viewkind4\uc1\pard\tx360\cf1\f0\fs20\'c1\'ee\'eb\'fc\'f8\'e8\'ed\'f1\'f2\'e2\'eeThe reader sets the translation table based on the \ansi\ at the start of the document, which simply maps all bytes to themselves. The initial text, which should be 'Большинство', is then converted as latin-1. The 'fcharset204', which is CP1251, is completely ignored, and there's a lovely line in the RTFReader class
/* TODO: per-font font encodings ( \fcharset control word ) ? */Does anyone know how to extract non latin1 text from RTF or what other tools can be used to extract text from RTF.
Thanks
Antony

Hello,
Specifying the character set for a WebLogic webservice (see:
http://edocs.bea.com/wls/docs81/webserv/i18n.html#1069629) is one of the
many enhancements made since the 6.1 release. If possible, the best
solution for your webservice development would be to upgrade.
Bruce
"özkan Demir" wrote:
>
Hi all;
I am developing RPC style webservices on weblogic server 6.1 with service pack
2.
I have a problem about character sets. I have to turkish language so that the
character sets must be ISO-8859-9. But the soap messages are default UTF-8 so
that turkish characters becomes undetermined.
Is there a way that I can send soap messages in ISO-8859-9 character set or what
do I have to solve the problem of turkish characters between the client and the
server applications with webservices...Please Help!
Thanks

Similar Messages

  • [svn:bz-trunk] 16395: Bug: #2621264 [Regression] Small messages not working with NIO-HTTP endpoints in LCSD/trunk.

    Revision: 16395
    Revision: 16395
    Author:   [email protected]
    Date:     2010-06-02 05:00:56 -0700 (Wed, 02 Jun 2010)
    Log Message:
    Bug: #2621264 Small messages not working with NIO-HTTP endpoints in LCSD/trunk.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: This is the BlazeDS side of the fix. This wasn't a regression, it probably never worked correctly. So, in the scenario where there's a Producer and a Consumer, and Producer sends a message for the Consumer, there are 2 messages from the server. The ACK message for Producer's send, and the actual message Consumer receives. I found that the ACK message was in small form, but the actual message was not in streaming messages. This was because we never really tried to convert streamed messages into small messages before.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/StreamingAMFEndpoint.java
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/StreamingHTTPEndpoint.java

  • Crystal report 8.5 export to csv and rtf format not working with office 2013

    Hi Experts,
    Crystal report version 8.5 hangs and eventually crash when i export my report to csv or rtf format on windows 7 with office 2013 installed, code is written in VB 6 although the same scenario is working with office 2010 installed.
    i debugged the code and found the application hangs at function Report.Export(False).
    below is the code snippet
           .PDFExportAllPages = True 'ePDFExportAllPages
           .PDFFirstPageNumber = ePDFFirstPageNumber
           .PDFLastPageNumber = ePDFLastPageNumber
           .RTFExportAllPages = True 'eRTFExportAllPages
           .RTFFirstPageNumber = eRTFFirstPageNumber
           .RTFLastPageNumber = eRTFLastPageNumber
           .UseReportDateFormat = eUseReportDateFormat
           .UseReportNumberFormat = eUseReportNumberFormat
           .UseReportNumberFormat = eUseReportNumberFormat
           .XMLAllowMultipleFiles = eXMLAllowMultipleFiles
           .XMLFileName = eXMLFileName
           Report.Export (False) ----Application hangs here and eventually crash
    Looking forward for your help, as it is very urgent
    Regards
    Mohit

    Hi Mohit
    CR 8.5, being about 15 years old, does not support Windows 7. I am surprised this works for you with MS Office 2010 and to be honest, I'd consider my self lucky there. The fact that is does not work with office 2013... well, like I said, lucky with Office 2010 and your luck ran out with Office 2013.
    Your option; rewrite the app in VS 2010 / 2012 / 2013 and use the CR Assemblies for VS .NET from SAP Crystal Reports, Developer Version for Visual Studio .NET. The CR Java SDK would be another option.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Messaging not working with one person

    I got my LG G3 in December and it has been working great until about a week ago. The problem started relatively small where occasionally a message would tell me it was sent but my girlfriend never received the message. The problem has gotten worst over time and especially yesterday it seemed any message of substantial length would not go through although it would tell me it had, yet any shorter message (>100 characters) would go through almost every time without problems. Starting this morning it is even worse with more messages not sending than do and now it is any length. None of my messages seem to be getting through to only this one person and I can text anyone else just fine. My default messaging app is Messaging+. I thought last night that switching to the normal messaging app might fix the problem But every time I tried to use that app (still with that one person) it would shut down. Messaging+ app will shut down sometimes, but the normal messaging app did not work at all. Could the problem be the large amount of messages between me and this one person, far greater than me and anyone else, or is there possibly another thing I don't know? I downloaded the app Advanced Task Killer and it said there were no problems with the app and I don't have any other options of what I can do. Please help? I would like to not erase all of the messages if possible.

    A large number of messages, or messages large in size, basically total size of all messages can hang things up.  Back up your messages with a GPStore app.  Erase them.  Lower your message character size.  IF it still continues, its the recipients phone.  Both of you should power down, remove SIM, reinsert, power up.

  • Message not working with gtalk on Mac in office network, but Gtalk is working in the same network on Windows machine

    I was using Windows machine at my workplace (Office network), gtalk used to work absolutely fine.
    Now I started using, Mac everything is working fine but my Gtalk account configured in Message is not working.
    Gtalk is working fine as soon a connect to my home network.
    I have tried configuring Nimbuzz and Psi , but of no use.
    Please suggest.

    Ok, after 40 minutes on the phone with the most patient and helpful Apple tech ever, the problem was fixed. Still not sure what did it though. Basically what I did was this-
    Completely uninstalled iTunes, details here:
    http://support.apple.com/kb/HT1224
    I even removed all files associated with iTunes, which is further down the same page. Don't worry, you won't have to delete your music.
    Then, I emptied the Trash and restarted the machine. I then checked for updates for every single App on my machine, upgraded to 10.6.4, and downloaded the iPhone SDK - not sure how this helped but anyway....
    Then I restarted the machine again.
    I then verified and repaired all permissions through the Disk Utility (Applications > Utilities > Disk Utility)
    Restarted the machine...again.
    I then downloaded the latest version of iTunes and installed it...and it worked.
    Now, at this stage I was skeptical as anyone who has read my first post will know, restarted the machine previously left me back at the start. Well, I just restarted the machine and all seems good.
    So, I'm not sure (neither was the tech actually hehe) which step specifically fixed the problem, so you might want to try them all.
    If this doesn't fix your problem, my heart goes out to you! Perhaps try calling tech support-
    http://www.apple.com/support/contact/phone_contacts.html

  • JMS messaging not working with LCDS and Fiorano

    Hi there,
    Been struggling at this all day with no luck. I have a finished Flex application which uses JMS messaging, and it has worked just fine on my Tomcat server while using ActiveMQ. As soon as I switched to using the JMS provider Fiorano however, my application can no longer use JMS resources. It fails whenever the application tries to subscribe or publish to a JMS topic. I made all the appropriate JMS related changes to messaging-config.xml.
    In the tomcat log, I turned on LCDS debugging and saw this error whenever a publisher or subscriber was trying to start:
    "JMS invocation caught exception: SECURITY_EXCEPTION :: Security exception occurred while trying to perform operation :: CreateSubscriber failed,creation of Non-durable Subscriber NOT allowed."
    I am passing my JMS security credentials via messaging-config.xml AND even tried doing it via the Flex application (setRemoteCredentials(..)). I know they are correct because I have a working Java application with the exact same credentials and other JMS settings working just fine. It seems only the Flex application fails using the same JMS credentials/settings.
    Is there some other file that needs modification other than messaging-config.xml to get a new JMS provider to work? Any idea what may be going on?
    Thanks!

    A large number of messages, or messages large in size, basically total size of all messages can hang things up.  Back up your messages with a GPStore app.  Erase them.  Lower your message character size.  IF it still continues, its the recipients phone.  Both of you should power down, remove SIM, reinsert, power up.

  • Addressbook and Messages not working with iPhoto-Faces

    Hey
    I've set up ML with an clean-install.
    I also set up iPhoto 11 (Mac-App Store updates installed directly after installing iPhoto 11) with my existing picture-library (upgrade of the library on first run was successfully).
    My problem: I cannot select any faces from iPhoto anymore. In Lion, I was able to set a Addressbook-picture from iPhoto, this doesnt work anymore
    Next, Messages is not showing my Addressbook-picture (currently set one) - but Mail does!
    If I try to select a new profile picture over Messages, Iam still not able to select something from iPhoto.
    So, where is the iPhoto-Faces integration?
    Thanks for help

    Hi,
    After setting up the iPhone and the Mac they should remain in fairly close contact as the Mac uses the iPhone's Carrier service to send the SMS.
    Whilst the setting up does not mention it the procedure looks a lot like Pairing Blue Tooth devices which gives you a range of 30 feet or so depending on surroundings.
    Having said that the specs say they two should be on the same WiFi Network (or network that the iPhone is WiFi Connected to be be correct) which would also limit coverage somewhat but  larger area than Blue Tooth.
    You then have to decide if it is possible your son went out of range of a suitable carrier service or whether your phone was moved too far form your Mac.
    If both your Mac and the iPhone are not maintaining the connection it would seem it is at the far end that the issue is happening.
    Is your son's phone maintaining:-
    1) Connection to a suitable service ?
    2) an SMS ability during that connection ?
    9:42 PM      Saturday; December 6, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • f:messages / not working with subviews

    Hello,
    in our JSF application, we have a problem with messages queued with FacesContext.addMessage() not propagating to other subviews than the one defining the sending JSF component. Are the messages really intended to stay within the defining subview only?
    For example, we have code something like this:
    <f:subview id="messages"> 
        <f:messages/>
    </f:subview>
    <f:subview id="content"> 
        <f:messages/> 
        <h:commandButton  action="#{Bean.action}" actionListener="#{Bean.listener}" value="{Messages.SUBMIT_VALUE}" />
    </f:subview>Now, if the submit handling code sends JSF message(s) using the FacesContext.addMessage(), it is only shown in the content-subview, not in the messages-subview. No messages are shown in the messages-subview either if we remove the <f:messages /> tag from the content-subview.
    Currently we have a workaround bean that functions as a message placeholder, having its contents read in the messages-subview using the <h:outputText>-tag. I believe that using framework-provided messaging system would be better, only if it worked in the situation.
    Should we start improving our own workaround bean, or wait for the messages mechanism to be improved in a following JSF release, ie. is the functionality shown intended in the JSF design, and if so, how should we be showing our component messages to the end user when there are multiple subviews used in the application?
    -Pietu

    Yeah. That was a typo in cut'n'paste; the original code uses <h:messages />, ofcourse. The problem, however, still persists.
    (If the original code used f:messages, why would the messages be shown in the subview that contained the message sending object ?)

  • Messages not working with iOS8, Yosemite, and Android

    I am running a MBA with Yosemite. I also have several iOS devices (IPhone 6, iPad Mini, iPad 2Gen).  I have gone over the set up time and time again and believe it to be correct.  However, some (not all) messages to Android (presumably) devices fail.  I also am not sure if I am receiving all messages.
    Example: My son initiated a text to me tonight and it came through. I received it on my MBA and was able to reply from my MBA. He responded fine, but my response failed (see screen cap).  This is the same behavior on the iPhone 6 as well.  He is running an HTC brand new latest Android phone on Verizon.  My plan is also on Verizon and I have Verizon for my WiFi as well.  Another friend has a crappy Android that was bought at Walmart and has some lower tier cell carrier and I get a similar behavior there.
    Any suggestions?

    Hi,
    After setting up the iPhone and the Mac they should remain in fairly close contact as the Mac uses the iPhone's Carrier service to send the SMS.
    Whilst the setting up does not mention it the procedure looks a lot like Pairing Blue Tooth devices which gives you a range of 30 feet or so depending on surroundings.
    Having said that the specs say they two should be on the same WiFi Network (or network that the iPhone is WiFi Connected to be be correct) which would also limit coverage somewhat but  larger area than Blue Tooth.
    You then have to decide if it is possible your son went out of range of a suitable carrier service or whether your phone was moved too far form your Mac.
    If both your Mac and the iPhone are not maintaining the connection it would seem it is at the far end that the issue is happening.
    Is your son's phone maintaining:-
    1) Connection to a suitable service ?
    2) an SMS ability during that connection ?
    9:42 PM      Saturday; December 6, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • E75 & Nokia Messaging not working with Gmail prope...

    Hi there,
    I'm having problems in getting my new E75 to function with Gmail (I'm using Gmail via IMAP, custom domain and Google Apps) and I'm, therefore, here in order to search some help from more tech-savvy users. The most annoying problem I'm having at the moment is that E75 creates duplicate messages in "sent mail" -folder in Gmail when sending mail from it. I would also be delighted if I could delete messages using my phone so that msges would be moved to Gmail's trash folder instead of "All Mail" -folde. Any advice in getting these functionalities? Thank You!  
    All in all, I would like to be able to configure E75 mail client to function like a "normal" IMAP client.  

    Maddmaxx is correct, check this article for more information: http://mail.google.com/support/bin/answer.py?hl=en&answer=78755
    A workaround to delete emails from Gmail is to go into Google Labs, enable Advanced IMAP Controls, go to Forwarding and POP/IMAP and switch When a message is expunged from the last visible IMAP folder: to either Move the message to the Trash or Immediately delete the message forever depending on your preference.
    We're working on this. 

  • Outgoing messages not working with POP e-mail account

    I am getting a strange message each time I try to send outgoing e-mail messages with my iPhone 3G. It says that my recipients e-mail address in invalid. I have tried multiple e-mail addresses and it always says the same thing when I try to send. My outgoing mail settings look like they are entered correctly and I am recieving e-mail just fine. Any suggestions?

    Hi. I was having the same problem with my Gmail/Googlemail account, which i've just managed to fix, by changing the port number for my SMTP server, as per Google's suggestion.
    Specifically, I changed my SMTP port number to 465.
    Link to relevant Google help page can be found here -
    https://mail.google.com/support/bin/static.py?page=troubleshooter.cs&problem=bug flow&selected=bugflow_imap07
    Hope this helps some of you.

  • Group messaging not working with groups that contain non iphone users

    I have an Iphone 5 and for some reason I can't send/receive group messages with groups that contain non Iphone users.  Basically I recieve single text messages/imessage from each person who responds to the group message.  This is incredibly annoying.

    Hello, megbu36. 
    Thank you for visiting Apple Support Communities.
    Check to make sure that group messaging is enabled.  Go to Settings > Messages and turn on Group messaging.
    iOS: Understanding group messaging
    http://support.apple.com/kb/HT5760
    Cheers,
    Jason H.

  • I messaging still not working with ios7.3 update

    My I Messaging not working with IOS 7.3 update.  I have an Ipad2.

    I have turned I messaging on and off and I have reset network settings.  Ugh

  • When working on document in numbers and saving it I then try to open on iPad. It is not syncing what do I have to do after using on Mac to then be able to upload on iPad.  I have set cloud up and it works with keynote

    When working on document in numbers and saving it I then try to open on iPad. It is not syncing what do I have to do after using on Mac to then be able to upload on iPad.  I have set cloud up and it works with keynote

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • AIM not working with messages

    Hello,
    My AIM account has not worked with ichat or messages in the last few months. I called Apple about this over 3 weeks ago and they said their is a glitch in the lion software and aim? However, all of my friends have no problem with their aim accounts working. I have downloaded AIM and everything works. It just does not work in ichat/messages after re-setting the password and re-adding the account. Help!

    Yes,  enabling and disabling the AIM account (sometimes it takes doing it a few times) seems to work.  And I found elsewhere that opening activity monitor and killing off the imagent process (which then automatically relaunches) seems to work as well.  Those workarounds are not permanent solutions for me though.  As soon as the iMac is either restarted or shut down and then turned back on...  Messages seems to be right back at square one with not being able to connect to AIM unless I use the workaround again.  I just hope Apple can figure out what is going on and fix the app before it goes final.

Maybe you are looking for

  • Cloning hamachi

    hi, new subscriber here and have a paid for hamachi subscription. i have have a win 8.1 pc with an external raid drive providing file sharing and such like for a bunch of pcs. i am trying to configure a second identical pc to be completely interchang

  • Adobe Download Assistant. Your trial download will begin automatically after you install the Downloa

    Elements 12 will not download after downloading "assistant"

  • Unit of measure KG to ST?

    Hi All, I have on ematerial initially created with unit of measuer KG by mistake, it was really supposed to be ST. Is there any way? Thank You.

  • Right Click Meun Localisation

    Hi, I am working on a project that will be deployed in a number of languages. The right click menu on Flash Player has settings etc... Can these be localised? Are they localised if my machine and browser is say German? Is there a specific flash playe

  • Mifi 890L NIGHTMARE

    Posted here just a few minutes ago and I even had friends look at the post. Then suddenly the post disappeared and no traces of it could be found, even the bookmark I made of it has disappeared. Might there be a mod trying to censor what the customer