'\" .\" @(#)euctosjis.1 1.2 01 Oct 1998 SMI .\" Copyright (c) 1999, Sun Microsystems, Inc. .\" All Rights Reserved .\" Copyright (c) AT&T 1997. All rights reserved. .\" @(#)euctosjis.rof 1.1 5/15/96 .TH euctosjis 1 "22 Sept 1998" .if n .tr \-- .SH NAME euctosjis - converts the encoding of characters from Extended UNIX Code (EUC) to a Shift-JIS (S-JIS) encoding. .SH SYNOPSIS .ft4 .nf euctosjis [-aderzw] [file] .SH OPTIONS .SS -a If an input character has an invalid EUC encoding, the euctosjis command aborts. .SS -e If an input character has an invalid EUC encoding, conversion to S-JIS cannot be performed for this character. However, the euctosjis command continues its conversion process for all subsequent characters. .SS -d All conversions from EUC to S-JIS are performed within the input file. .SS -r Converts a UNIX system file to the DOS file format by converting every newline to a carriage return followed by a newline. Additionally a control-Z character is emitted as the last character in the file. .SS -z Ignore or do not emit a control-Z at end of file. .SS -w A wide character space is converted to two ASCII spaces. .SH EXAMPLES To convert all the EUC encoded characters in file-e to S-JIS encoded characters and redirect the output to file-s, type the following command: .sp.5 euctosjis file-e file-s .sp.5 To convert all the EUC encoded characters in datafile to S-JIS encoding, type the following command:. .sp.5 euctosjis -d datafile .SH SEE ALSO sjistoeuc