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

sjistoeuc(8)

NAME

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

SYNOPSIS

/usr/sbin/sjistoeuc [-a d e r] [file]

OPTIONS

-a If an input character has an invalid S-JIS encoding, the sjistoeuc command aborts. -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. -d All conversions from S-JIS to EUC are performed within the input file. -r Converts a DOS file to UNIX system file format by converting all carriage returns followed by a newline to a newline. Additionally, the Ctrl/Z end of file marker is deleted.

DESCRIPTION

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

EXAMPLES

1. To convert all the S-JIS encoded characters in file-s to EUC encoding in file-e, type the following command: # sjistoeuc file-s file-e 2. To convert all the S-JIS encoded characters in datafile to EUC encoding, type the following command: # sjistoeuc -d datafile

SEE ALSO

Commands: euctosjis(8)

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