Not able to send euro character ' €' via socket

OS : Solaris - The solaris login profile is set with LC_CTYPE, LC_CTYPE, LC_LANG=ISO-8859-15 and we are able to see this when we run the set command and also locale in solaris.
JRE : 1.6
Application deployed in Weblogic 10.3
I m trying to send a euro character in java via socket, but in the receiving end not able to receive properly. Even I have to tried to set the Charset ( in the java code )
as ISO-8859-15 , but still it didn't work properly. Code snippet for the sample program to display euro symbol
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
public class Euro {
public static String createString( byte[] bytes, String enc )
String CResult = null;
try {
CResult = new String( bytes, enc );
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
return CResult;
// ISO8859-15 is same as ISO8859-1 but with EUR character
public static String createStringISO8859_15( byte[] bytes )
String CResultISO = null;
CResultISO = new String( bytes, Charset.forName("ISO-8859-15" ));
return CResultISO;
public static void main(String[] args) throws Exception {
//String enc = "€";
byte[] iso8859_15 = { (byte) 0xA4 }; // euro sign
//byte[] iso8859_15 = "0xA4".getBytes(); // euro sign
/*     String Cresult = Euro.createString (iso8859_15, enc);
System.out.println("createString Result : " + Cresult);*/
String CresultISO = Euro.createStringISO8859_15(iso8859_15);
System.out.println("createStringISO8859_15 Result : " + CresultISO);
When I 'm running the above code in windows it is working fine whereas in Solaris it is not working. The console just displays ?, rather than the actual '€' symbol. Is this a display problem in console of vt100 or porgramming? Kindly suggest. How to make this work in Solaris.

Please repost or edit that mess with {noformat}{noformat} tags and proper indenting so it can actually be read.
And then explain what sockets have to do with the price of fish.                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Ipad and iPhone not able to send photos via email or text

    My iPad2 and iPhone (5s) are not able to send photos via emails or texts. They communicate with each other in sharing the photos but I can't send them out anywhere. Anyone have suggestions?

    You can choose Outlook Express by following steps:
    1) Launch Starter Edition.
    2) Choose Edit menu >> Preferences or press Ctrl + K, to launch preference dialog.
    3) Choose Email from side menu on preference dialog.
    4) in Client, 'Send Email Using :' set"Outlook Express" and press 'Ok'
    You are reasy to share your images.Let me know if it helps.
    Cheers!!!
    Agrawal

  • Not able to send emails via Mail anymore !?!?

    Very bizarre : since yesterday night, we are not able to send emails from all of our 3 accounts !?!?!? When we are sending an email Mail always ask us to enter our password. If not Mail says that we should choose another server to send our email but then after it keep asking us our password and the message always stay in my sending box ? Is there a way to solve that problem ?
    Thanks in advance

    Greetings,
    That sounds like a Mail issue (not iCal). You may get better response if you post in the Mail forum here:
    http://discussions.apple.com/forum.jspa?forumID=1338

  • Notification mailer is not able to send mails to Outside domain i.e gmail

    Hi All,
    We are in 12.1.3 EBS application with 11.1.0.7 DB on Aix 64 bit platform:
    resently we configured notification mailer with out any issues
    But the issue is notifications are delivered to with in the domain itself but not to outside the domain i.e gmail and yahoo
    SMTP server host name is owa.craftsmanautomation.com the same we used to configure the Notification mailer
    Even we verified from os level using telnet utility as follows:
    $ telnet owa.craftsmanautomation.com 25
    Trying...
    Connected to 192.168.5.8.
    Escape character is '^]'.
    220 Capl-cas01.CRAFTSMAN.LOCAL Microsoft ESMTP MAIL Service ready at Thu, 12 Jul 2012 14:03:47 +0530
    EHLO CAPL-PROD
    250-Capl-cas01.CRAFTSMAN.LOCAL Hello [192.168.5.12]
    250-SIZE
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-STARTTLS
    250-X-ANONYMOUSTLS
    250-AUTH NTLM
    250-X-EXPS GSSAPI NTLM
    250-8BITMIME
    250-BINARYMIME
    250-CHUNKING
    250-XEXCH50
    250-XRDST
    250 XSHADOW
    MAIL FROM: [email protected]
    250 2.1.0 Sender OK
    RCPT TO: [email protected]
    250 2.1.5 Recipient OK
    DATA
    354 Start mail input; end with <CRLF>.<CRLF>
    Subject: Test message
    Test message body
    250 2.6.0 <[email protected]> [InternalId=85753] Queued mail for delivery
    quit
    221 2.0.0 Service closing transmission channel
    Connection closed.
    In the above command in place of FROM and TO mail-id's if we use any personal mail-id's getting error message as "Unable to Relay".Please suggest is there any changes we need to done at SMTP server Level or OS level or Application Level.
    Thanks in Advance

    925263 wrote:
    Hi Hussein,
    Thanks Alot for your reply.
    Currently we changed the SMTP Server(mail.craftsmanautomation.com).we used anoth SMTP server to configure Notification Mailer.Because previous one(owa.craftsmanautomation.com) is not able to send mail's to outside domains.
    But in this case we got the below error message while testing.Below error message we captured from the output file of the script Oracle Workflow ATG Support: R12 Java Mailer Setup Diagnostic Test.
    ERROR
    [Nov 10, 2012 1:32:45 PM GMT+05:30]:1352534565017:-1:-1:capl-prod.craftsmanautomation.com:192.168.5.13:-1:-1:1:20420:SYSADMIN(0):-1:Thread[outboundThreadGroup1,5,outboundThreadGroup]:192.168.5.13:84096:1352529863628:11:ERROR:[SVC-GSM-WFMLRSVC-110812-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.send(Message)]:Problem encountered when sending to {[[WFTEST <[email protected]>]]} -> javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    class javax.mail.SendFailedException: 554 5.7.1 <[email protected]>: Sender address rejected: Access denied
    Please see these docs.
    Email Not Received javax.mail.SendFailedException: Invalid Addresses [ID 876835.1]
    Workflow Notification Mailer Unable to Send E-Mail Notifications [ID 374804.1]
    Unable to Email Proposal Documents to an 'External Address' [ID 1126223.1]
    How to address Email Center: Outbox Processor Error: Invalid Addresses [ID 1399427.1]
    Thanks,
    Hussein

  • Not Able to send messages using NOKIA TEXT MESSAGE...

    Hi,
    I am not able to send messages using text message editor. I am having N70. I also have the latest PC suite and latest phone software. Whenever I try to send message, a message appears "Unable to send". It does not even give me the reason. I have connected my phone using data cable and I can transfer music, syncronize and do other stuffs.
    Can someone suggest what needs to be done to send messages using PC??
    Thanks in advance.
    Raghu.

    Hello,
    i am having the same Problem.
    I cannot send any sms via my phone (N70) nor via the latest Pc Suite. It also just says "Unable to send" with no reason.
    I am on:
    V5.0705.3.0.1
    30-01-07
    PM-84
    Model: N70-1
    Code: 0530495
    Any help is much appreciated. :-)
    Kind regards,
    Thorsten
    Message Edited by deeplook on 01-Jul-2008 08:59 PM

  • I have bought a iphone 5s and i am not able to send pictures to android user. how do i change settings in my phone so i can do that.

    I have bought a iphone 5s and i am not able to send pictures to android user. how do i change settings in my phone so i can do that.

    If you are talking about sending photos via messaging then:
    Have you turned on MMS Messaging in Settings?
    See Settings > Messages > MMS Messaging and turn this ON.

  • Not able to send any SMS

    Hi All,
     I am not able to send any SMS  from my blackberry device from past one day. I have checked all possible things including my network, the message settings etc. I am able to choose contacts and type messages but when I am trying to send it it gets hanged , the track pad doesnot send it...even if  I try clicking the green tab for options to choose,it doesnot wrk...as a result I have to press back, once i press back i see the typed message highlighted in green in my message box and if i click on it it goes away.The sent outbox doesnot show that the message is sent also when i enquire with the recipient they inform that message is not delivered. Could anybody advice why this can happen? also is this due to some virus? If so can the scan and restore back my curve with difault settings....reuqest you all to please please reply back soonnnnnnnnnnnnnn.......My curve model is 8520, carrier VODAFONE and OS v5.0..
    Thanks ,
    Prasun
    Solved!
    Go to Solution.

    You need to turn off the media sync in the Desktop Software, so that it does not occur immediately and only when you click to initiate it.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • WHEN I USED TO CONNECT INTERNET FROM MY IPHONE 4S PERSONAL HOTSPOT VIA USB, AN ICON IN THE NETWORK PREFERENCE NAMED "IPHONE" GETS OPENED.... BUT NOW THIS IS NOT HAPPENING AND I AM NOT ABLE TO CONNECCT PERSONAL HOTSPOT VIA USB CABLE. PLEASE HELP ME OUT

    WHEN I USED TO CONNECT INTERNET FROM MY IPHONE 4S PERSONAL HOTSPOT VIA USB, AN ICON IN THE NETWORK PREFERENCE NAMED "IPHONE" APPEARS.... BUT NOW THIS IS NOT HAPPENING AND I AM NOT ABLE TO CONNECT PERSONAL HOTSPOT VIA USB CABLE. PLEASE HELP ME OUT???

    Please don't shout!   Using all uppercase means shouting on the internet.  If your keyboard is stuck please say so, otherwise people will think you are being obnoxious.
    Now the first question is, when you are saying connecting to personal hotspot, have you always been using the iPhone to connect to the internet?   Are you someplace where the only place to connect is available via tethering to the iPhone's celluar network?  Or do you have other options?

  • I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    Hi waqaskhan91,
    Thank you for visiting Apple Support Communities.
    If you're not able to send text or iMessages to certain contacts after updating your iPhone, start with the troubleshooting tips in this article:
    iOS: Troubleshooting Messages - Apple Support
    If you only see this behavior with a few contacts, you may want to try these steps first:
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact from the Contacts app. Send a new message to the contact.
    Best Regards,
    Jeremy

  • I'm not able to send emails with mail.ru. Receiving and reading is not a problem. When I create a email with mail.ru its not possible to send it although its stored in my mail.ru account as "still to be send". What can it be??

    I'm not able to send emails with mail.ru. Receiving is not a problem. Creating a mail is also not a problem and the mail will be stored at mail.ru as still to be send, only problem is its not possible to send. I noticed the buttons for sending change colour when used but they don't perform. What it is?

    Don't know what changed, but all of a sudden able to send emails by mail.ru ...... sorry for bothering.

  • My wife and I share the same email address and Apple ID.  We are not able to send and receive Text Messages to one another.

    My wife and I share the same email address and Apple ID. We are not able to send and receive Text Messages to one another. Is the cause of this because we share the same Apple ID? Will we have to set up 2 separate primary email addresses to be able to  send and receive Tex Messages to one another? Like I said, we share the same email address and woul like to keep it that way to keep up with our email together. Is there a way to by-pass having to set up 2 primary emaill addresses if this is the problem?
    Thanks.

    go to the settings and turn off imessage
    but that don't change the issue that you will never be able to facetime eachtoher
    the appleID is really meant as the handle that identify you it was not meant to be shared
    but can see that people may want to do not buy apps more then once

  • TS2755 Ever since I updated my iphone 4 to 5.1.1, I am not able to send more than one picture at a time in a text message. Does anyone know how to fix this?

    Ever since I updated my iphone 4 to 5.1.1, I am not able to send more than one picture at a time in a text message. Does anyone know how to fix this?

    Yes, I know the photos stored on the device... But which app are you accessing the photos with? Which app do you want to be able to highlight more than one pic at a time in?
    There are literally thosands of apps that access the iOS Photo Library - which one(s) are you using?

  • Is there a way to send a message with a photo attached using imessages. I am not able to send a photo to one of my contacts because I am sending the contact a message text messages. I don't want to send contacts text messages. I want to send them iMe

    Is there a way to send a message with a photo attached using imessages. I am not able to send a photo to one of my contacts because I am sending the contact a message text messages. I don't want to send contacts text messages. I want to send them iMessages.

    Kolyei, sorry for the late reply.
    Have your brother create a contact in his phone for himself. Inside his own contact, have him add his phone number and his iCloud address.
    Settings > Messages > Send & Receive Have your brother select both his phone number and email addresses where he would like to receive iMessages.

  • I recently buyed totally unlocked sprint iphone which was legally contract free and i am using that phone in india but i am not able to send sms .everything is working fine except sending sms. i have tried everything plz help me !!

    i recently buyed totally unlocked sprint iphone which was legally contract free and i am using that phone in india but i am not able to send sms .everything is working fine except sending sms. i have tried everything plz help me !! i have tried everything i.e. reset iphone /hard reset/network setting reset /sms service no i have also changed but i am still not able to send sms.. please help me as i am really worried .. thank you !!

    I had the same problem.  Kept getting message of waiting for activation or check network connections.  I also tried every solution out there and nothing worked.  This did though:  I download the newest version of itunes (through Internet Explorer - Google Chrome wouldn't work).  It pulled in my entire library thank goodness and then I plugged my iphone 4s into the computer.  I let itunes find it, did a complete backup in icloud, then did a restore.  Entire process took a couple of hours, but I now have imessage and facetime back.  I was about ready to give up on Apple and go get a different phone ~

  • TS2755 I am not able to send pictures to one of my contacts. I can for all others.

    I am not able to send pictures to one of my contacts. I can for all others. Can someone explain why that could be happening?

    Perhaps that recipient does not have MMS texting as part of their cell service.  They may only have SMS texting which does not support pictures.

Maybe you are looking for

  • Opening PDF with in the browser..!

    Hi, I have written a servlet which basically reads the .pdf files from the webserver and writes them to the browser on request using OutputStream. The problem is my servlet is working fine, but it gives me the options wether to open or to save it to

  • Importing Word 2007 into RH8

    Hi, It used to be very easy to import a Word document into RoboHelp if it was styled.  Every Heading 1 would start a new topic. Now It doesn't seem so easy - in fact I can't seem to be able to break up a document into topics at all. Also, the images

  • Problem with else statement

    There is an if statement in this servlet which basically checks for null values, that works grand, however, when I added in an else statement (for the try and catch functions), the servlet let won't run. Is it not possible to embed Try and Catch func

  • Applet runnning jre7 sends tons of PersistenceDelegate requrests to server:

    Our server runs jdk1.6. Applet runs on IE7. Just recently, some clients with jre1.7 experiences slow down. By monitoring our Apache Mod_jk log, we see tons of requests from client such as: GET /epen-webapp/java/lang/ClassPersistenceDelegate.class GET

  • CR runtime 13: report not displayed in production environment

    Hi, i've the following situation.. i'm developing on VS2010 a webapp using the final release of CRfVS2010 (s.o. is Windows 7 Ent x64) without any problems. Today i'm trying to test the app on a server (Windows Server 2003 with CR2008 redist already i