mailx: Unable to send Japanese


 
Thread Tools Search this Thread
Operating Systems Linux mailx: Unable to send Japanese
# 1  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

8. Debian

cannot send any mails using mailx

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

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

10. 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
Login or Register to Ask a Question
eucJP(5)							File Formats Manual							  eucJP(5)

NAME
eucJP - A character encoding system (codeset) for Japanese DESCRIPTION
The Japanese EUC (Extended UNIX Code), or eucJP, codeset consists of the following character sets: CS0 (ASCII or JIS Roman) CS1 (JIS X0208) CS2 (JIS Katakana) CS3 (JIS X0212) CS0 is a primary character set. CS1, CS2, and CS3 are supplementary character sets. The MSB (Most Significant Bit) of the byte that repre- sents a character in CS0 is set off, whereas the MSB of the bytes that represent characters in CS1, CS2, and CS3 is set on. Japanese EUC Encoding The representation of ASCII/JIS Roman and JIS X0208 characters in the Japanese EUC codeset is similar to how those characters are repre- sented in the DEC Kanji codeset (refer to deckanji(5)). The two additional character sets, JIS Katakana and JIS X0212, are encoded in the Japanese EUC codeset by making use of the SS2 (Single Shift 2) and SS3 (Single Shift 3) control characters. The Japanese EUC codeset provides the following two areas for representation of user-defined characters (UDC): ----------------------------------------------------------- Area Usage Row Range Number of Char- Code Range acters ----------------------------------------------------------- JIS X0208 85-94 940 F5A1-FEFE JIS X0212 78-94 1598 SS3 [EEA1-FEFE] ----------------------------------------------------------- The representation of UDCs on these two code planes is identical to that for standard characters that occupy the same planes. Code ranges distinguish between UDCs and standard JIS X0208 and JIS X0212 characters that occupy the same plane. Currently, the operating system does not support JIS X0212 (JIS Supplementary) characters. Codeset Conversion The following codeset converter pairs are available for converting Japanese characters between eucJP and other encoding formats. Refer to iconv_intro(5) for an introduction to codeset conversion. For more information about the other codeset for which eucJP is the input or out- put, see the reference page specified in the list item. deckanji_eucJP, eucJP_deckanji Converting from and to the DEC Kanji codeset: deckanji(5). ISO-2022-JP_eucJP, eucJP_ISO-2022-JP Converting from and to the ISO 2022 Japanese codeset: iso2022jp(5). ISO-2022-JPext_eucJP, eucJP_ISO-2022-JPext Converting from and to the ISO 2022 Japanese Extended codeset: iso2022jp(5). JIS7_eucJP, eucJP_JIS7 Converting from and to the JIS7 codeset: jiskanji(5). SJIS_eucJP, eucJP_SJIS Converting from and to the Shift JIS codeset: SJIS(5). Shift JIS encoding is identical to the encoding used in the Microsoft PC code page for Japanese. You can therefore use these con- verters to convert Japanese text from and to Japanese code-page format. See code_page(5) for more information about how the operat- ing system supports PC code pages. sdeckanji_eucJP, eucJP_sdeckanji Converting from and to the Super DEC Kanji codeset: sdeckanji(5). UCS-2_eucJP, eucJP_UCS-2 Converting from and to UCS-2 format: Unicode(5). UCS-4_eucJP, eucJP_UCS-4 Converting from and to UCS-4 format: Unicode(5). UTF-8_eucJP, eucJP_UTF-8 Converting from and to UTF--8 format: Unicode(5). Japanese EUC Fonts For display devices, the operating system supports Japanese EUC characters by converting Japanese EUC code to DEC Kanji code and then using the fonts for DEC Kanji. Because the CS3 character set is not supported by the DEC Kanji codeset, CS3 characters cannot be displayed. The operating system does not provide PostScript fonts for Japanese EUC. Some printers support Japanese with printer-resident fonts and print filters perform codeset conversion, if required, for the encoding used in the file input to the print job. For some other printers, you can set up a print filter to convert Japanese bitmap fonts to PostScript. Refer to i18n_printing(5) for introductory information about your printing options. SEE ALSO
Commands: locale(1) Others: ascii(5), code_page(5), i18n_intro(5), i18n_printing(5), iconv_intro(5), deckanji(5), iso2022jp(5), Japanese(5), jiskanji(5), l10n_intro(5), sdeckanji(5), shiftjis(5), Unicode(5) eucJP(5)