Sponsored Content
Operating Systems Solaris Problem in Sending Arabic message in Unix Post 302318189 by jacobkuncheria on Thursday 21st of May 2009 03:27:37 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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" dave@email.com In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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' Ronit@XYZ.com < 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

10. 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
SMS::Send(3pm)						User Contributed Perl Documentation					    SMS::Send(3pm)

NAME
SMS::Send - Driver-based API for sending SMS messages SYNOPSIS
# Create a sender my $sender = SMS::Send->new('SomeDriver', _login => 'myname', _password => 'mypassword', ); # Send a message my $sent = $sender->send_sms( text => 'This is a test message', to => '+61(4) 1234 5678', ); # Did the send succeed. if ( $sent ) { print "Message sent ok "; } else { print "Failed to send message "; } DESCRIPTION
"SMS::Send" is intended to provide a driver-based single API for sending SMS and MMS messages. The intent is to provide a single API against which to write the code to send an SMS message. At the same time, the intent is to remove the limits of some of the previous attempts at this sort of API, like "must be free internet- based SMS services". "SMS::Send" drivers are installed separately, and might use the web, email or physical SMS hardware. It could be a free or paid. The details shouldn't matter. You should not have to care how it is actually sent, only that it has been sent (although some drivers may not be able to provide certainty). METHODS
installed_drivers The "installed_drivers" the list of SMS::Send drivers that are installed on the current system. new # The most basic sender $sender = SMS::Send->new('Test'); # Indicate regional driver with :: $sender = SMS::Send->new('AU::Test'); # Pass arbitrary params to the driver $sender = SMS::Send->new('MyDriver', _login => 'adam', _password => 'adam', ); The "new" constructor creates a new SMS sender. It takes as its first parameter a driver name. These names map the class names. For example driver "Test" matches the testing driver SMS::Send::Test. Any additional params should be key/value pairs, split into two types. Params without a leading underscore are "public" options and relate to standardised features within the SMS::Send API itself. At this time, there are no usable public options. Params with a leading underscore are "private" driver-specific options and will be passed through to the driver unchanged. Returns a new SMS::Send object, or dies on error. send_sms # Send a message to a particular address my $result = $sender->send_sms( text => 'This is a test message', to => '+61 4 1234 5678', ); The "send_sms" method sends a standard text SMS message to a destination phone number. It takes a set of named parameters to describe the message and its destination, again split into two types. Params without a leading underscore are "public" options and relate to standardised features within the SMS::Send API itself. text The "text" param is compulsory and should be a plain text string of non-zero length. The maximum length is currently determined by the driver, and exceeding this length will result in an exception being thrown if you breach it. Better functionality for determining the maximum-supported length is expected in the future. You input would be welcome. to The "to" param is compulsory, and should be an international phone number as indicated by a leading plus "+" character. Punctuation in any form is allowed, and will be stripped out before it is provided to the driver. If and only if your driver is a regional driver (as indicated by a ::-seperated name such as AU::Test) the "to" number can also be in a regional-specific dialing format, "without" a leading plus "+" character. Providing a regional number to a non-regional driver will throw an exception. Any parameters with a leading underscore are considered private driver-specific options and will be passed through without alteration. Any other parameters without a leading underscore will be silently stripped out and not passed through to the driver. After calling "send_sms" the driver will do whatever is required to send the message, including (potentially, but not always) waiting for a confirmation from the network that the SMS has been sent. Given that drivers may do the actual mechanics of sending a message by quite a large variety of different methods the "send_sms" method may potentially block for some time. Timeout functionality is expected to be added later. The "send_sms" returns true if the message was sent, or the driver is fire-and-forget and unable to determine success, or false if the message was not sent. SUPPORT
Bugs should be reported via the CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SMS-Send <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SMS-Send> For other issues, contact the author. AUTHOR
Adam Kennedy <adamk@cpan.org> COPYRIGHT
Copyright 2005 - 2011 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-04-07 SMS::Send(3pm)
All times are GMT -4. The time now is 03:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy