---
name: "compile_encoding"
section: "1p"
platform: "linux"
package: "libxml-encoding-perl"
version: "2.11-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/compile_encoding/1p"
---

# compile\_encoding(1p)

compile XML encmap into a binary encoded file for XML::Parser

## NAME

compile\_encoding - compile XML encmap into a binary encoded file for XML::Parser

## SYNOPSIS

```
    compile_encoding [-h] [-o <output_file>] <input_file>
```

## DESCRIPTION

**compile\_encoding** compiles an input XML encmap file into a binary encoded file usable by XML::Parser.

## ARGUMENTS

- \<input\_file\>

  The XML encmap file to compile.

## OPTIONS

- **-o \<output\_file\>**

  Put compiled binary into given output file.  By default, a file that has the same basename as the input file, but with an extension of *.enc* is output.

- **-h**

  Print usage information.

## EXIT STATUS

```
    0   The script exited normally.
    1   The script exited after printing the help.
    2   Invalid command-line arguments.
    >2  An error occurred.
```

## KNOWN BUGS

*None*.

## SEE ALSO

[**make\_encmap**(1p)](/make_encmap/1p.md), [**XML::Encoding**(3pm)](/XML::Encoding/3pm.md), [**XML::Parser**(3pm)](/XML::Parser/3pm.md).

## AUTHOR

Clark Cooper \<coopercc@netheaven.com \<mailto:coopercc@netheaven.com\>\>.

Steve Hay \<shay@cpan.org \<mailto:shay@cpan.org\>\> is now maintaining XML::Encoding as of version 2.00.

This manual page was written by Daniel Leidert \<daniel.leidert@wgdd.de \<mailto:daniel.leidert@wgdd.de\>\> for the Debian project (but may be used by others).

## COPYRIGHT

Copyright (C) 1998 Clark Cooper.  All rights reserved. Copyright (C) 2007-2008, 2014 Steve Hay.  All rights reserved.

## LICENCE

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e. under the terms of either the GNU General Public License or the Artistic License, as specified in the *LICENCE* file.

## VERSION

Version 2.11

## DATE

08 Dec 2020

## HISTORY

See the *Changes* file.
