'\" .\" @(#)sjistoeuc.1 1.2 01 Oct 1998 SMI .\" Copyright (c) 1999, Sun Microsystems, Inc. .\" All Rights Reserved .\" Copyright (c) AT&T 1997. All rights reserved. .\" @(#)sjistoeuc.rof 1.1 5/15/96 .TH sjistoeuc 1 "30 Sep 1997" .if n .tr \-- .SH NAME sjistoeuc - converts the encoding of characters from Shift-JIS (S-JIS) encoding to Extended UNIX Code (EUC) encoding. .SH SYNOPSIS .ft4 .nf sjistoeuc [-ader] [file] .SH OPTIONS .SS -a If an input character has an invalid S-JIS encoding, the sjistoeuc command aborts. .SS -e If an input character has an invalid S-JIS encoding, conversion to EUC cannot be performed for this character. However, the sjistoeuc command continues its conversion process for all subsequent characters. .SS -d All conversions from S-JIS to EUC are performed within the input file. .SS -r Converts a DOS file to UNIX system file format by converting all carriage returns followed by a newline to a newline. Additionally, the control-Z end of file marker is deleted. .SH SEE ALSO euctosjis .SH EXAMPLES To convert all the S-JIS encoded characters file-s to EUC encoding in file-e, type the following command: .sp.5 sjistoeuc file-s file-e .sp.5 To convert all the S-JIS encoded characters in datafile to EUC encoding, type the following command: .sp.5 sjistoeuc -d datafile