What should be stored in the DB when a special char is saved into the db?

Hello,
We have a 9.2.0.6 DB with charset as UTF8. We are putting the special character 'अ' into the database through a j2ee application. The application stores and displays the special character properly.
My question
1) When the special character is stored in the database, what should it be stored as? Should it store the HTML Entity (decimal) value - अ or should it store UT-8 (hex) value - e0a485?
2) When the data is viewed through a different application, it displays &32309; instead of 'अ'. Both the applications are almost similar. Any pointers on what need to be looked into would be appreciated
A few details on the special character 'अ'
This is a Hindi letter - Devanagari letter A
The URL below has all the unicode information on this special character
http://www-950.ibm.com/software/globalization/icu/demo/unicode?ch=0905
Thank you

If you are trying to view the character using Windows, the following metalink note may help
Note:179133.1 The correct NLS_LANG in a Windows Environment
iSQL is the only UTF-8 compliant client provided by ORacle, try it.
regards

Similar Messages

  • SSIS package fails when Configuration value has value saved into the package

    when a package is migrated from dev to QA and to PROD sometimes it fails since the variables have values in them saved into the package.
    what we do is clear these values manually and restart the job.
    Is there a way we can clear the variables when saving the package or at least programmatically?
    eddy.a

    Hello Arthur
    Thank you for your response. I should start by apologizing by not making myself clear. We do use indirect configuration that work cross environments however this is the issue that we have:
    when the package is first created say you create a DB Variable called A and you enter value A in the variable to test the package. After the package development is tested, you change the configuration values to fetch data whether from an excel file or from
    an XML.
    when you run on environment A the package runs fine however when you move over to environment B it seems that first it validates against A then overwrites B - if environment A is not there anymore the package sometimes fails.
    we are changing these manually for now but I was wondering if there's a way to prevent it.
    thanks
    eddy.a

  • My ipod won't show up on my computer. I have another ipod touch, that works fine. What should I do? Do I need a different ipo usb cord for the nano?

    my ipod won't show up on my computer. I have another ipod touch, that works fine. What should I do? Do I need a different ipo usb cord for the nano?

    iTunes never displays the iPod in the left pane?
    iTunes is shipped with a "helper application" called the "iPod Service" that runs and is used by iTunes to communicate with the iPod device. This service may be disabled.
    If your system is Microsoft Windows XP and you are logged in as an Administrator:
    1. Quit iTunes and, if your iPod is currently connected to your computer, safely remove it using the system tray application to manage removable devices.
    2. Right click on "My Computer"
    3. Select "Manage"
    4. In the "Computer Management" window, left pane (tree view), follow this path:
    +Computer Management (local) > Services and Applications > Services+.
    5. In the right pane, scroll down to "iPod Service" and double click it.
    6. If the service is listed as "Disabled" and "Stopped," change to "Manual" and "Start" it. ("Manual" will cause it to start when iTunes starts and "Start" starts the service right now.)
    7. Close "Computer Management"
    8. Restart iTunes and wait for it to completely come up.
    9. Reconnect your iPod.
    Does your iPod show up in iTunes?

  • My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?, My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?

    My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?, My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do? iPhone 5

    Clean the lint/debris from the charging port and plug the cable in.

  • When I plug my ipod touch into the pc, it tells me:the ipod cannot be used because the apple mobile device service is not started. What does this mean and how do I get rid of that and enable syncing?

    When I plug my ipod touch into the pc, it tells me:the ipod cannot be used because the apple mobile device service is not started. What does this mean and how do I get rid of that and enable syncing?

    Hello Julia,
    Start with this article.
    http://support.apple.com/kb/ts1567
    B-rock

  • When i plug my iphone 4s into the laptop itunes says itunes cannot conect this iphone because an error ocurred,(error 0xE80000222) what can i do also i havent activate my iphone so i cant do anything with the iphone either

    when i plug my iphone 4s into the laptop itunes says itunes cannot conect this iphone because an error ocurred,(error 0xE80000222) what can i do also i havent activate my iphone so i cant do anything with the iphone either
    HELPPPPPPPP ME PLEASE!!!!!

    iTunes runs on your computer, not your phone. Install the latest version of iTunes on your computer. If you're using a Mac, and running OS X 10.5, you will need to upgrade OS X first.

  • HT5312 What should I do if i have forgotten both my recovery e-mail, and the answers to my security questions?

    What should I do if i have forgotten both my recovery e-mail, and the answers to my security questions? Will i have to make a new apple ID? I recently got an Iphone 5 and to purchase anything from itunes i need to confirm my account by answering the questions. Is there anything i can do?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • When i copy a word document into the body of an email, it arrives in a distorted format.  what can i do to insure it will arrive in the body of the email as it appears in my word document?

    how can i ensure that when i copy a word document into the body of an email, it will arrive in the same format as it appears in the word document.  mine arrive with distorted spacing.  thank you!!

    Sounds like the Word file may have right justification. You can turn that off within Word.
    You can also save the file as a pdf using these instructions:
    http://support.apple.com/kb/PH10738
    and send the pdf instead.

  • HT203421 i buy a macbook air with my friend and i changed the apple id also.at first i can update the application but now its impossible to update the application.when i clock to update it shows the id of my fren andsomebody do you have idea to solve this

    i buy a macbook air with my friend and i changed the apple id also.at first i can update the application but now its impossible to update the application.when i clock to update it shows the id of my fren andsomebody do you have idea to solve this problem.

    The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1. You don't own another Mac.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    2. You do own another Mac.
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.

  • Issue: Not getting response when the document is having special chars

    Please help following issue: Not getting response when the document is having special chars(Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
    Error message:
    System.FormatException: Invalid length for a Base-64 char array. at
    System.Convert.FromBase64String(String s) at
    Summarize.Summarizer.AccumulateBroadcast(String filedata, String givenWords) in
    c:\DocumentSummarizer\App_Code\Summarizer.cs:line 66
    Code:
    File 1:
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.Properties;
    import org.apache.poi.poifs.filesystem.POIFSFileSystem;
    import org.apache.poi.hwpf.*;
    import org.apache.poi.hwpf.extractor.*;
    import com.lowagie.text.Document;
    import com.lowagie.text.pdf.PRTokeniser;
    import com.lowagie.text.pdf.PdfReader;
    public class DocumentSummarizerClient {
         static Properties loadProperties() {
              Properties prop = new Properties();
              try {
                   prop.load(DocumentSummarizerClient.class.getClassLoader().getResourceAsStream("vep.properties"));
              } catch (Exception ioe) {
                   ioe.printStackTrace();
              return prop;
         public String getSummary(String fileName,String noOfWordsOrPercentage ){
              String summaryInputData ="";
              String summarizedData="";
              String summarizerURL = loadProperties().getProperty("Summarizer.serviceURL");
              try {
                   String fileExtension=fileName.substring(fileName.lastIndexOf(".")+1, fileName.length());
                   if (fileExtension.equalsIgnoreCase("doc")|| fileExtension.equalsIgnoreCase("txt")|| fileExtension.equalsIgnoreCase("pdf")) {
                                  if (fileExtension.equalsIgnoreCase("txt")) {
                                       BufferedReader bufferedReader = new BufferedReader(
                                                 new FileReader(fileName));
                                       String line = null;
                                       while ((line = bufferedReader.readLine()) != null) {
                                            summaryInputData += line;
                                  if(fileExtension.equalsIgnoreCase("doc")){
                                       POIFSFileSystem fs = null;
                                        fs = new POIFSFileSystem(new FileInputStream(fileName));
                                         HWPFDocument doc = new HWPFDocument(fs);
                                         WordExtractor we = new WordExtractor(doc);
                                         String[] paragraphs = we.getParagraphText();
                                         for( int i=0; i<paragraphs .length; i++ ) {
                                            paragraphs[i] = paragraphs.replaceAll("\\cM?\r?\n","");
                                  summaryInputData+= paragraphs[i];
                                  if(fileExtension.equalsIgnoreCase("pdf")){
                                       Document document = new Document();
                   document.open();
                   PdfReader reader = new PdfReader(fileName);
                   int pageCount =reader.getNumberOfPages();
                        for(int i=1;i<=pageCount;i++){
                                  byte[] bytes = reader.getPageContent(i);
                                  PRTokeniser tokenizer = new PRTokeniser(bytes);
                                  StringBuffer buffer = new StringBuffer();
                                  while (tokenizer.nextToken()) {
                                  if (tokenizer.getTokenType() == PRTokeniser.TK_STRING) {
                                  buffer.append(tokenizer.getStringValue());
                                  summaryInputData += buffer.toString();
                   else{
                        System.out.println("This is Invalid document. Presntly we support only text,word and PDF documents ");
                   // String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
                   // encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
                        summarizedData= postRequest(parameters,summarizerURL);
                        String slength= "<string xmlns=\"http://tempuri.org/\">";
                        if(summarizedData.contains("</string>")){
                        summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
                        summarizedData = replaceVal(summarizedData);
                        //System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
                        // System.out.println("Summarized data "+summarizedData);
                        if(summarizedData.contains("Please enter the percentage")){
                             summarizedData="Data given cannot be summarized further";
                   else{
                        System.out.println("Data given cannot be summarized further");
                        summarizedData="";
              } catch (FileNotFoundException e) {
                   return("The File is not found \n\n"+e.toString());
              } catch (IOException e) {
                   return("The File is already in use \n\n"+e.toString());
              } catch (Exception e) {
                   return(e.toString());
              return summarizedData;
         public static String postRequest(String parameters,String webServiceURL) throws Exception{
              Properties systemSettings = System.getProperties();
              systemSettings.put("http.proxyHost", loadProperties().getProperty("proxyHost"));
         systemSettings.put("http.proxyPort", loadProperties().getProperty("proxyPort"));
         System.setProperties(systemSettings);
              String responseXML = "";
              try {
                   URL url = new URL(webServiceURL);
                   URLConnection connection = url.openConnection();
                   HttpURLConnection httpConn = (HttpURLConnection) connection;
                   byte[] requestXML = parameters.getBytes();
                   httpConn.setRequestProperty("Content-Length", String
                             .valueOf(requestXML.length));
                   httpConn.setRequestProperty("Content-Type",
                             "application/x-www-form-urlencoded");
                   httpConn.setRequestMethod("POST");
                   httpConn.setDoOutput(true);
                   httpConn.setDoInput(true);
                   OutputStream out = httpConn.getOutputStream();
                   out.write(requestXML, 0, requestXML.length);
                   out.close();
                   InputStreamReader isr = new InputStreamReader(httpConn
                             .getInputStream());
                   BufferedReader br = new BufferedReader(isr);
                   String temp;
                   String tempResponse = "";
                   while ((temp = br.readLine()) != null)
                        tempResponse = tempResponse + temp;
                   responseXML = tempResponse;
                   br.close();
                   isr.close();
              } catch (java.net.MalformedURLException e) {
                   System.out
                             .println("Error in postRequest(): Secure Service Required");
              } catch (Exception e) {
                   System.out.println("Error in postRequest(): " + e.getMessage());
              return responseXML;
         public String replaceVal(String value) {
                   if (value == null) {
                        value = "";
                   value = value.replace("&lt;", "<");
                   value = value.replace("&gt;", ">");
                   value = value.replace("&amp;", "&");
                   return value;
              public static void main(String[] args) {  
                   DocumentSummarizerClient testdoc=new DocumentSummarizerClient();
                   System.out.println("hello");               
                   testdoc.getSummary("C:\\working_folder\\vep\\UnitTestCases\\VEP1.0\\DocumentSummarizerTestData\\TestErrorFour.doc","100%");     
    Note: Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
    File 2:
    ---------public class Base64Utils {
    private static byte[] mBase64EncMap, mBase64DecMap;
    * Class initializer. Initializes the Base64 alphabet (specified in RFC-2045).
    static {
    byte[] base64Map = {
    (byte)'A', (byte)'B', (byte)'C', (byte)'D', (byte)'E', (byte)'F',
    (byte)'G', (byte)'H', (byte)'I', (byte)'J', (byte)'K', (byte)'L',
    (byte)'M', (byte)'N', (byte)'O', (byte)'P', (byte)'Q', (byte)'R',
    (byte)'S', (byte)'T', (byte)'U', (byte)'V', (byte)'W', (byte)'X',
    (byte)'Y', (byte)'Z',
    (byte)'a', (byte)'b', (byte)'c', (byte)'d', (byte)'e', (byte)'f',
    (byte)'g', (byte)'h', (byte)'i', (byte)'j', (byte)'k', (byte)'l',
    (byte)'m', (byte)'n', (byte)'o', (byte)'p', (byte)'q', (byte)'r',
    (byte)'s', (byte)'t', (byte)'u', (byte)'v', (byte)'w', (byte)'x',
    (byte)'y', (byte)'z',
    (byte)'0', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5',
    (byte)'6', (byte)'7', (byte)'8', (byte)'9', (byte)'+', (byte)'/'};
    mBase64EncMap = base64Map;
    mBase64DecMap = new byte[128];
    for (int i=0; i<mBase64EncMap.length; i++)
    mBase64DecMap[mBase64EncMap[i]] = (byte) i;
    * This class isn't meant to be instantiated.
    private Base64Utils() {
    * Encodes the given byte[] using the Base64-encoding,
    * as specified in RFC-2045 (Section 6.8).
    * @param aData the data to be encoded
    * @return the Base64-encoded <var>aData</var>
    * @exception IllegalArgumentException if NULL or empty array is passed
    public static String base64Encode(byte[] aData) {
    if ((aData == null) || (aData.length == 0))
    throw new IllegalArgumentException("Can not encode NULL or empty byte array.");
    byte encodedBuf[] = new byte[((aData.length+2)/3)*4];
    // 3-byte to 4-byte conversion
    int srcIndex, destIndex;
    for (srcIndex=0, destIndex=0; srcIndex < aData.length-2; srcIndex += 3) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
    (aData[srcIndex] << 4) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+2] >>> 6) & 003 |
    (aData[srcIndex+1] << 2) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[aData[srcIndex+2] & 077];
    // Convert the last 1 or 2 bytes
    if (srcIndex < aData.length) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
    if (srcIndex < aData.length-1) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
    (aData[srcIndex] << 4) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] << 2) & 077];
    else {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] << 4) & 077];
    // Add padding to the end of encoded data
    while (destIndex < encodedBuf.length) {
    encodedBuf[destIndex] = (byte) '=';
    destIndex++;
    String result = new String(encodedBuf);
    return result;
    * Decodes the given Base64-encoded data,
    * as specified in RFC-2045 (Section 6.8).
    * @param aData the Base64-encoded aData.
    * @return the decoded <var>aData</var>.
    * @exception IllegalArgumentException if NULL or empty data is passed
    public static byte[] base64Decode(String aData) {
    if ((aData == null) || (aData.length() == 0))
    throw new IllegalArgumentException("Can not decode NULL or empty string.");
    byte[] data = aData.getBytes();
    // Skip padding from the end of encoded data
    int tail = data.length;
    while (data[tail-1] == '=')
    tail--;
    byte decodedBuf[] = new byte[tail - data.length/4];
    // ASCII-printable to 0-63 conversion
    for (int i = 0; i < data.length; i++)
    data[i] = mBase64DecMap[data[i]];
    // 4-byte to 3-byte conversion
    int srcIndex, destIndex;
    for (srcIndex = 0, destIndex=0; destIndex < decodedBuf.length-2;
    srcIndex += 4, destIndex += 3) {
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
    ((data[srcIndex+1] >>> 4) & 003) );
    decodedBuf[destIndex+1] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
    ((data[srcIndex+2] >>> 2) & 017) );
    decodedBuf[destIndex+2] = (byte) ( ((data[srcIndex+2] << 6) & 255) |
    (data[srcIndex+3] & 077) );
    // Handle last 1 or 2 bytes
    if (destIndex < decodedBuf.length)
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
    ((data[srcIndex+1] >>> 4) & 003) );
    if (++destIndex < decodedBuf.length)
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
    ((data[srcIndex+2] >>> 2) & 017) );
    return decodedBuf;
    issue 2: Exception when passing 2MB .txt file
    Steps to reproduce:
    Call getSummary() with 2MB .txt file
    Actual:
    The following exception has occured:
    1. Error in postRequest(): Unexpected end of file from server
    java.lang.NullPointerException
    Please provide your precious feedback/suggestions.
    Thanks in advance…..
    Edited by: EJP on 15/03/2011 16:52: added code tags. Please use them. Code is unreadable otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks for your response….
    This is enhancement project and some one develops long back.
    Regarding point (b) You should be using the java.net.URLEncoder to encode URL parameters, not a base64 encoder.
    DocumentSummarizerClient.java I am using base64
    Ex:
    // String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
                   // encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
                        summarizedData= postRequest(parameters,summarizerURL);
                        String slength= "<string xmlns=\"http://tempuri.org/\">";
                        if(summarizedData.contains("</string>")){
                        summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
                        summarizedData = replaceVal(summarizedData);
                        //System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
                        System.out.println("Summarized data "+summarizedData);
                        if(summarizedData.contains("Please enter the percentage")){
                             summarizedData="Data given cannot be summarized further";
    Above specific please I need to modify to resolve above issue.
    Could you please suggest me what changes I need to do.
    Waiting for positive response.

  • I  made the mistake when configuring a external monitor, of changing the mhz to 75. When I close the MBP I now get a black screen on the monitor. How do I change it back?

    I  made the mistake when configuring a external monitor, of changing the mhz to 75. When I close the MBP I now get a black screen on the monitor. How do I change it back?
    I have a MacBook Pro with the latest operating system, trying to configure a Gateway flat monitor with vga.
    Thanks

    Apple menu -> System Preferences -> Displays.
    System Preferences can also be found in the Hard drive -> Applications folder.
    Resetting the PRAM can help bring displays back to factory settings if you can't find what you need:
    http://support.apple.com/kb/ht1379

  • When my phone is not plugged into the charger or computer, it will not turn on at all; even though it is not dead. When it's plugged into the computer, it will go to a white screen with a grey apple icon and then it will turn off again and repeat. IOS7

    When my phone is not plugged into the charger or computer, it will not turn on at all; even though it is not dead. When it's plugged into the computer, it will go to a white screen with a grey apple icon and then it will turn off again and repeat. IOS7 and iPhone 5.

    http://support.apple.com/kb/HT1808
    Try this step and if you cannot get your device into recovery mode there is a chance you have a hardware failure and you need to call apple to see what service options you have.

  • I can't transfer downloaded content from my macbook air to my external hdd, when i try to drag it into the hrd drive it wont go in how do i fix this ?

    i can't transfer downloaded content from my macbook air to my external hdd, when i try to drag it into the hrd drive it wont go in how do i fix this ?

    What format is the external HDD in? If it's NTFS (= proprietary Windows), then OS X can read it but not write.
    Eventually copy all content from the drive to a safe place, the re-format. FAT32 is the format which both Windows and OS X can read and write.

  • Computer freezes when inserting a USB Bus Card into the slot.

    I use this card as a way to capture video in FCE. I also have 2 external HD's which I use a scratch disks. I have used this configuration in the past and it has worked properly, however now, when I insert my USB card into the slot the computer freezes, has to be shut down, and I get this error message.
    Can anyone tell me what's up? Thanks from Korea!!!
    Daryn
    Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x0000000000000014 PC=0x000000000048EE94
    Latest crash info for cpu 0:
    Exception state (sv=0x4263AA00)
    PC=0x0048EE94; MSR=0x00009030; DAR=0x00000014; DSISR=0x42000000; LR=0x0048EE84; R1=0x2C623B20; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x0048EE84 0x0048ED44 0x00463C94 0x0048E550 0x002C0CE0 0x002C0AA8
    0x002C1510 0x002C1B1C 0x000A9514
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleUSBOHCI(2.5.5)@0x48d000
    dependency: com.apple.iokit.IOUSBFamily(2.5.9)@0x462000
    dependency: com.apple.iokit.IOPCIFamily(1.7)@0x483000
    com.apple.iokit.IOUSBFamily(2.5.9)@0x462000
    Proceeding back via exception chain:
    Exception state (sv=0x4263AA00)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x42429280)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC
    panic(cpu 0 caller 0xFFFF0003): 0x300 - Data access
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x000952D8 0x000957F0 0x00026898 0x000A8004 0x000AB980
    Proceeding back via exception chain:
    Exception state (sv=0x4263AA00)
    PC=0x0048EE94; MSR=0x00009030; DAR=0x00000014; DSISR=0x42000000; LR=0x0048EE84; R1=0x2C623B20; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x0048EE84 0x0048ED44 0x00463C94 0x0048E550 0x002C0CE0 0x002C0AA8
    0x002C1510 0x002C1B1C 0x000A9514
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleUSBOHCI(2.5.5)@0x48d000
    dependency: com.apple.iokit.IOUSBFamily(2.5.9)@0x462000
    dependency: com.apple.iokit.IOPCIFamily(1.7)@0x483000
    com.apple.iokit.IOUSBFamily(2.5.9)@0x462000
    Exception state (sv=0x42429280)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPCModel: PowerBook5,5, BootROM 4.8.6f0, 1 processors, PowerPC G4 (1.1), 1.5 GHz, 2 GB
    Graphics: ATI Mobility Radeon 9700, ATY,RV360M11, AGP, 128 MB
    Memory Module: SODIMM0/J20STANDARD, 1 GB, DDR SDRAM, PC2700U-25330
    Memory Module: SODIMM1/J23REVERSED, 1 GB, DDR SDRAM, PC2700U-25330
    AirPort: AirPort Extreme, 405.1 (3.90.34.0.p18)
    Modem: LastDash, UCJ, V.92, 4.0, APPLE VERSION 2.6.6
    Bluetooth: Version 1.7.14f14, 2 service, 1 devices, 1 incoming serial ports
    Network Service: Built-in Ethernet, Ethernet, en0
    PCI Card: TXN,PCIXXXX-00, cardbus, PC Card
    Parallel ATA Device: MATSHITADVD-R UJ-825, 565.88 MB
    Parallel ATA Device: Hitachi HTS541080G9AT00, 74.53 GB
    USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
    USB Device: Kensington PocketMouse Pro, Kensington, Up to 1.5 Mb/sec, 500 mA
    FireWire Device: 1394 Storage Front Panel*, Maxtor, Up to 800 Mb/sec
    FireWire Device: LaCie d2 Extreme LUN 0, LaCie Group SA, Up to 400 Mb/sec
    Powerbook G4   Mac OS X (10.4.9)  

    Bad card

  • When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete

    When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete them, FireFox won't open. I tried deleting FireFox and reinstalling it multiple times, and a message pops up sometimes that says FireFox may not have installed correctly, so I follow the steps, but all the extra icons on my desktop don't go away. This has happened every time I have downloaded FireFox. The browser itself works, but I need to know how to get rid of these icons, but still be able to use FireFox. This is on a new computer, with Windows 7.
    == I downloaded FireFox. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

    Managed to solve this myself. Just went to properties > hidden.

Maybe you are looking for

  • Dunning Letters and XML Publisher

    I have created a template for the dunning letter print in applications. When we submit the dunning letter generate process it kicks off the print automatically and this gives us a problem as the print doesn't seem to have the XMLP template associated

  • Can't recover disk space after finishing/deleting movies

    My ipod touch (8GB) still reports that 2 GB are taken up by videos, even though I don't have any accessible videos on it now. These appear to be the footprints of two movies I rented from itunes. But I finished watching the movies and they don't appe

  • IMac AC power cord

    Hi, my new iMac was delivered today and the power cord comes with 2-flat pins with a 15 cm green-and-yellow cable at the side. At the end of the cable is a little fork. I am in Hong Kong SAR where the standard is a 3-square-pin plug. No way do our so

  • Burning DVD files....

    Can someone please answer this question..... Which Roxio Toast app is compatible with my Macbook? I need to be able to burn .dvd/.avi files For Later Viewing, Not For Re-Sale... Macbook OSX 10.4.11 2GHz Intel 2 Duo

  • Safe temperature for G5 2.7 dual

    Hi, I'm looking at a G5 2.7 dual tomorrow and need to know what is a safe temperature range, I will check it with istat pro, if there is there a better way of checking can someone let me know?