Index Index for
Section 8
Index Alphabetical
listing for E
Bottom of page Bottom of
page

euctosjis(8)

NAME

euctosjis - Converts the encoding of characters from Extended UNIX Code (EUC) to a Shift-JIS (S-JIS) encoding

SYNOPSIS

/usr/sbin/euctosjis [-aderzw] [file]

OPTIONS

-a If an input character has an invalid EUC encoding, the euctosjis command aborts. -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. -d All conversions from EUC to S-JIS are performed within the input file. -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 Ctrl/Z character is emitted as the last character in the file. -z Ignore or do not emit a control-Z at end of file. -w A wide character space is converted to two ASCII spaces.

DESCRIPTION

The euctosjis command converts the encoding of characters from Extended UNIX Code (EUC) to a Shift-JIS (S-JIS) encoding.

EXAMPLES

1. 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: # euctosjis file-e file-s 2. To convert all the EUC encoded characters in datafile to S-JIS encoding, type the following command: # euctosjis -d datafile

SEE ALSO

Commands: sjistoeuc(8)

Index Index for
Section 8
Index Alphabetical
listing for E
Top of page Top of
page