Problem in Sending Arabic message in Unix

Thread Tools Search this Thread
Operating Systems Solaris Problem in Sending Arabic message in Unix
# 1  
Old 05-21-2009
Problem in Sending Arabic message in Unix

I have developed an application in java which sends arabic as well as english messages(SMS). First I deployed the same on windows machine and it sends the messages in both the languages. Due to some performance issue thought of migrating to UNIX. On the unix testing machine, when i tested it out, my java application is able to send messages in both the languages. But when I tested the application on the UNIX production machine, it does not send the message in arabic language, instead the end user is receiving the text in the form of question marks like "?????". Both the machines have got same locales and using SUN SOLARIS also. I have been trying for months to resolve this problem. As i dont know much about UNIX, I thoguht of seeking help so that someone could really help me out.
Thanks in advance,
Jacob K
# 2  
Old 05-21-2009
Check that Middle East & North africa language support packages are installed.

to do that, execute:

# pkginfo |grep -i middle
# pkginfo | grep -i north

The response should be like this:

# pkginfo |grep -i middle
system      SUNWmeadt      Middle East CDE Support
system      SUNWmeaos      Middle East OS Support
system      SUNWmeaow      Middle East OW Support
system      SUNWmeaox      Middle East 64-bit OS Support
# pkginfo | grep -i north
system      SUNWnafdt      Northern Africa CDE Support
system      SUNWnafos      Northern Africa OS Support
system      SUNWnafow      Northern Africa OW Support
system      SUNWnafox      Northern Africa 64-bit OS Support

These are the packages that should exist in your Solaris OS. Your application should use them.
# 3  
Old 05-21-2009
Thanks for the help. I tried out the command as you have written. In both the machines(Testing and production), it does not give any result. So in this case this would not be the issue right? If the command what you have given, had worked on the testing machine(which send arabic messages), we could have arrived at the conclusion that the packages what you have mentioned should be installed. Hope I am not wrong and you have understood it. Please do reply.
# 4  
Old 05-21-2009
That's pretty strange, I thought these packages were necessary for Arabic Language support.

Do you login using GUI ?

if so, then in the login prompt, before you enter your username, there's a button called "Options" on it and then click on "Languages".

make sure you selected "C POSIX " (and if those language support packages are installed, you can see them below, but anyhow you have to select "C POSIX"
# 5  
Old 05-21-2009
I use putty so as to login to UNIX, not any GUI. When I checked the locale's of the both the machines also, "C" and "Posix" are installed as you have suggested. That also does not solve the problem. Any more suggestions?
# 6  
Old 05-21-2009
nothing that I know of, no.

I faced that problem earlier, but after installing those packages, it worked. Sorry, no idea.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Sending email with message body and attachment

Hello experts!! I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment. I tried below command: (echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies

2. Shell Programming and Scripting

Message Body while sending an email

I am making use of the following code to display the results of my txt file in an email: mail -s 'Count Validation Test Comparison Results' < Count_Validation_Results_`date +%m%d%Y`.txt Email Output: ----------Query 1 Count Validation Results-------- Source count is 4 Target... (7 Replies)
Discussion started by: ronitreddy
7 Replies

3. Shell Programming and Scripting

Sending message to a mobile number through UNIX

Is it possible to add Pager Notification to mailx command?? Or by any other mean. just want to specify that by Pager i mean a message to the mobile number. Suppose i have following condition If ];then send a message to 9999999999 else no message to be sent fi Is it possible? I... (5 Replies)
Discussion started by: Sharma331
5 Replies

4. Shell Programming and Scripting

Arabic encoding using Unix commands

I am using sed on Arabic file (utf-8 encoding) like bellow: sed 's/./& /g' file and all I get is: 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? I tried change the LANG variable to LANG=en_US.UTF-8 but I still get the same "?" output. What is the... (1 Reply)
Discussion started by: Viernes
1 Replies

5. Shell Programming and Scripting

sending multiple files along with mail message using uuencode

Hi, I have a requirement to send a mail with multiple files attached to it and along with the text message in the mail. I am trying sumthing like below but it only sends me the text message and no files attached to the mail. ---------------------------------------- ( uuencode file1... (1 Reply)
Discussion started by: sachinkl
1 Replies

6. UNIX for Dummies Questions & Answers

problem in sending out content in unix

Hello all!! i got a problem in the email content format in outlook which i mail it from a unix. i want the content to be multiple lines as i see in unix, but the content is grouped into a single line instead in the email content. The email content is made from tail of a file, and echo... (4 Replies)
Discussion started by: boydunshout
4 Replies

7. UNIX for Dummies Questions & Answers

Sending a structure through a message queue

Hi, I browsed thru the previous posts and couldnt find a solution for my problem. Hence I decided to post it. I have a buffer array that I want to send thru a message queue. The array consists of a header structure and a payload structure memcopied to it. When I print the contents of the... (1 Reply)
Discussion started by: zeebie
1 Replies

8. Shell Programming and Scripting

Problem while sending message and attachment with mailx

Hi All, I am trying to send a mail with an attachment and message. Following command I am using. (cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies

9. Shell Programming and Scripting

sending message to terminal

hi all i have script #!/bin/bash cd /usr3/prod grep ERROR /usr3/prod/ind.log > /usr3/prod/ind_err.log if test -s /usr3/prod/ind_err.log then echo "error during process" else echo "process succeed" fi i want that this message(echo) will be display one time at the top of the screen... (5 Replies)
Discussion started by: naamas03
5 Replies

10. Cybersecurity

Sending a message to a user when password will be expired

Hi, Does anyone have a script (for AIX) that sends a message to a user that his password will be expired within 5 days for ex. Thanks (1 Reply)
Discussion started by: Diederd
1 Replies
Login or Register to Ask a Question

Featured Tech Videos