uspTukubaiコマンドに関する様々な資料がここにあります。

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

uconv(USP)

Name

uconv : UTF-8 <=> Shift JIS / EUC-JP / ISO-8851-1 Code Conversion

Synopsis

Usage   : uconv -stou [<file>]

          uconv -utos [<file>]

          uconv -etou [<file>]

          uconv -utoe [<file>]

          uconv -ltou [<file>]

          uconv -utol [<file>]

Option  : -d<string>

          -e

          -Lu

          -Lw

          -Lm

          --gaiji GAIJI_TABLE

Version : Tue Jan  9 09:02:34 JST 2024

Edition : 1

Description

Converts character codes to and from UTF-8 and Shift JIS / EUC-JP /

ISO-8851-1.

Options and compatibility are shown below:

-stou    Shift JIS  to UTF-8

-utos    UTF-8      to  Shif JIS

-stou    EUC-JP     to  UTF-8

-utos    UTF-8      to  EUC-JP

-utol    ISO-8851-1 to  UTF-8

-ltou    UTF-8      to  ISO-8851-1

If characters that cannot be converted or characters containing invalid

codes are detected:

   They are converted to "〓" ("•" when -utol or -ltou mode); or

   If the -d<string> option is specified, they are converted to <string>; or

   If the -e option is specified, conversion is aborted.

If the -Lu option is specified, Unix newline sequence (\n) is used.

If the -Lw option is specified, Windows newline sequence (\r\n) is used.

If the -Lm option is specified, Macintosh newline sequence (\r) is used.

If "Gaiji" conversion is required, you can specify the gaiji conversion table

using option --gaiji GAIJI_TABLE.

The Gaiji conversion table contains the character code before conversion,

character code after conversion and comment separated by whitespaces.

Comments are optional.  Lines beginning with # or empty lines are ignored.

Example of Gaiji Conversion Table

# Gaiji Conversion table (EUC-JP → UTF-8)

  ADA1  E291A0   ①

  ADA2  E291A1   ②

  ADA3  E291A2   ③

8FD8B7  E88F87