{
    "mode": "man",
    "parameter": "native2ascii",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/native2ascii/1/json",
    "generated": "2026-06-17T19:13:29Z",
    "synopsis": "native2ascii [ inputfile ] [ outputfile ]\ninputfile\nThe encoded file to be converted to ASCII.\noutputfile\nThe converted ASCII file.",
    "sections": {
        "NAME": {
            "content": "native2ascii - Creates localizable applications by converting a file with characters in any\nsupported character encoding to one with ASCII and/or Unicode escapes or vice versa.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "native2ascii [ inputfile ] [ outputfile ]\n\n\ninputfile\nThe encoded file to be converted to ASCII.\n\noutputfile\nThe converted ASCII file.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The native2ascii command converts encoded files supported by the Java Runtime Environment\n(JRE) to files encoded in ASCII, using Unicode escapes (\\uxxxx) notation for all characters\nthat are not part of the ASCII character set. This process is required for properties files\nthat contain characters not in ISO-8859-1 character sets. The tool can also perform the\nreverse conversion.\n\nIf the outputfile value is omitted, then standard output is used for output. If, in addition,\nthe inputfile value is omitted, then standard input is used for input.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-reverse",
                    "content": "Perform the reverse operation: Converts a file encoded in ISO-8859-1 with Unicode\nescapes to a file in any character encoding supported by the JRE.\n\n-encoding encodingname\nSpecifies the name of the character encoding to be used by the conversion procedure.\nIf this option is not present, then the default character encoding (as determined by\nthe java.nio.charset.Charset.defaultCharset method) is used. The encodingname string\nmust be the name of a character encoding that is supported by the JRE. See Supported\nEncodings at\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html\n"
                },
                {
                    "name": "-J_option_",
                    "content": "Passes option to the Java Virtual Machine (JVM), where option is one of the options\ndescribed on the reference page for the Java application launcher. For example, -J-\nXms48m sets the startup memory to 48 MB. See java(1).\n\n\n\nJDK 8                                     21 November 2013                           native2ascii(1)"
                }
            ]
        }
    },
    "summary": "native2ascii - Creates localizable applications by converting a file with characters in any supported character encoding to one with ASCII and/or Unicode escapes or vice versa.",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Perform the reverse operation: Converts a file encoded in ISO-8859-1 with Unicode escapes to a file in any character encoding supported by the JRE. -encoding encodingname Specifies the name of the character encoding to be used by the conversion procedure. If this option is not present, then the default character encoding (as determined by the java.nio.charset.Charset.defaultCharset method) is used. The encodingname string must be the name of a character encoding that is supported by the JRE. See Supported Encodings at http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Passes option to the Java Virtual Machine (JVM), where option is one of the options described on the reference page for the Java application launcher. For example, -J- Xms48m sets the startup memory to 48 MB. See java(1). JDK 8 21 November 2013 native2ascii(1)"
        }
    ],
    "examples": [],
    "see_also": []
}