Sponsored Content
Operating Systems Linux mailx: Unable to send Japanese Post 302504864 by Karteek on Tuesday 15th of March 2011 03:50:49 PM
Old 03-15-2011
mailx: Unable to send Japanese

Hi All,

I am facing problem in sending Japanese characters using mailx command in GNU linux machine.

The mail is going with junk characters like "メールの-界へようこそ".

I tried changing the LANG value to japan locale off UTF-8. But it doesn't worked. I have to send the data as body not as an attachment. Subject also will be in Japanese.

Could some one please help on this.

Thanks,
Karteek
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win)

Hi A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as " usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies

2. Shell Programming and Scripting

UNABLE to send 5MB attachment using mailx

hi, i've created a script that sends out an email using the mailx and uuencode command. the script is ok, but when a 5MB attachment is sent, there are time that the intended recepients does not receive any email. i tested it and the issue is intermitent. please help on how to troubleshoot. i... (3 Replies)
Discussion started by: tads98
3 Replies

3. Debian

cannot send any mails using mailx

hi howto configure mailx ? kind regards ccc (11 Replies)
Discussion started by: ccc
11 Replies

4. UNIX for Dummies Questions & Answers

Unable to send e-mail using mailx command

Hi All, Can you please help me in solving this. I am facing some problem sending mails. If I use like this, I am able to send mail the mail echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'abc@xys.com' But if I use like this, then I am unable to send... (1 Reply)
Discussion started by: manas6
1 Replies

5. Solaris

How can i use Mailx to send email

I would like to use Mailx command, please i hope when you replay give me example. because this is very good think for me. I am New in sun Microsystems Solaris 10, i hope to give me also rules to learn Solaris easily. Thank you Joseph Shafik (8 Replies)
Discussion started by: J.shafik
8 Replies

6. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

Hi All, Can anyone please provide the command for sending an mail with attachment using mailx command. Thanks in Advance :) Regards, Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies

7. Solaris

how to send last file with mailx

I use mailx to send some log files. The log files are generated hourly. So many files stored in that folder. The log file is saved to a directory as "FILE_NAME=$ORACLE_SID`date + %m%d%y_%T`. I use syntax like this: mailx -s 'subject' myemail@company.com < /directory/$FILE_NAME Because... (2 Replies)
Discussion started by: duke0001
2 Replies

8. Solaris

Unable to send mail through mailx

Hi, I am using solaris 5.9 OS and I am facing an issues with mailx. My SMTP port is configured to listen 6190 and not the default one which is 25. I can send mail to my inbox when i do it manually through the following steps root@<dbname> # telnet 15.12.88.10 6190 Trying 15.12.88.10...... (0 Replies)
Discussion started by: Srinathkiru
0 Replies

9. Shell Programming and Scripting

Send mail using mailx to CC only, not TO

Hi All, I am using mailx to send the mail. Due to some changes in the requirement, I need to send the mail to CC only (an Email id in CC), with no email ID in "TO" field. Can we do that? bcz I used -c flag only and got the message:":The flags you gave make no sense since you're not sending... (2 Replies)
Discussion started by: unankix
2 Replies

10. UNIX for Dummies Questions & Answers

Unable to send attachment using mailx command

I am unable to send email with attachment using the mailx command. Without the attachment, the email goes through file. This is the command I use. Works : $ echo "Test" | mailx -s "Test" username@website.com Fails : $echo "Test" | mailx -a all-dss-accounts.txt -s "Test"... (3 Replies)
Discussion started by: nkarthik_mnnit
3 Replies
jtops(1)							   User Commands							  jtops(1)

NAME
jtops - postscript filter for printing Japanese characters on Sun Laser Writer or Japanese postscript printer SYNOPSIS
jtops [-12rRjJvwWmg] [-ln] [-s size] [-f font] [filename...] AVAILABILITY
SUNWjfpu DESCRIPTION
jtops is a filter for converting Japanese characters to Japanese postscript output which uses Kanji font on a printer side. Input from stdin is converted and sent to stdout. If there is no filename, the standard input is read. By default, it forms font size 10 and 66 lines per page for the portrait form. Before checking options specified in command lines, it interprets the strings in the JTOPS environment variable as options. OPTIONS
-1 1 column output (by default). -2 2 columns output. -r Rotate for the landscape form. -R Output in the portrait form (by default). -v Use Kanji-fonts of printer (for the Japanese PostScript printer by default). -l n Specify the number of lines per page as n (by default 66). -m Use Ming style as Japanese fonts (by default). -g Use Gothic style as Japanese fonts. As alphabetic fonts use Courier-Bold style unless -f option is specified. -f font Specify alphabetic fonts in font. By default, use Courier style without -g option, otherwise Courier-Bold style. -s size Set font size to size. When the fontsize is specified with -s, the lines per page are calculated as follows: portrait: 720 / (fontsize + 1) landscape: 550 / (fontsize + 1) -j Use half size alphanumeric of Japanese fonts as alphanumeric fonts. -J Use Courier as alphanumeric fonts( by default). -W Control the ratio of alphanumeric character and Japanese to be 1:2, except changeable width of alphanumeric fonts( by default). -w Not control the ratio of alphanumeric character and Japanese. EXAMPLES
Example 1: example% jtops -j -l40 -s11 filename | lpr example% pr -l120 filename | jtops -l120 -s5 | lpr example% jtops -2r filename | lpr ENVIRONMENT VARIABLES
The locale has to be set to ja, ja_JP.eucJP, ja_JP.PCK, or ja_JP.UTF-8 in your environment. SEE ALSO
expand(1), lp(1), pr(1), lpr(1B), lpfilter(1M) NOTES
jtops supports the following character sets; o JIS X 0201 figure character set for Roman o JIS X 0201 figure character set for Katakana o JIS X 0208 SunOS 5.10 13 Sep 2002 jtops(1)
All times are GMT -4. The time now is 01:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy