Movatterモバイル変換


[0]ホーム

URL:


Skip toContent

native2ascii - Native-to-ASCII Converter

Converts a file with characters in any supported character encodingto one with ASCII and/or Unicode escapes, or visa versa.

SYNOPSIS

native2ascii [options] [inputfile [outputfile]]

DESCRIPTION

native2ascii converts files that are encoded to anycharacter encoding that is supported by the Java runtimeenvironment to files encoded in ASCII, using Unicode escapes("\uxxxx" notation) for all characters that are not part of theASCII character set. This process is required for properties filescontaining characters not in ISO-8859-1 character sets. The toolcan also perform the reverse conversion.

Ifoutputfile is omitted, standard output is usedfor output. If, in addition,inputfile is omitted,standard input is used for input.

OPTIONS

-reverse
Perform the reverse operation: Convert a file encoded inISO-8859-1 with Unicode escapes to a file in any character encodingsupported by the Java runtime environment.

-encoding encoding_name
Specifies the name of the character encoding to be used by theconversion procedure. If this option is not present, the defaultcharacter encoding (as determined by thejava.nio.charset.Charset.defaultCharset method) isused. Theencoding_name string must be the name of acharacter encoding that is supported by the Java runtimeenvironment - see theSupportedEncodings document.

-Joption
Passoption to the Java virtual machine, whereoption is one of the options described on the reference pagefor thejava application launcher. Forexample,-J-Xms48m sets the startup memory to 48megabytes.

Copyright © 1993, 2020, Oracleand/or its affiliates. All rights reserved.
Contact Us

[8]ページ先頭

©2009-2025 Movatter.jp