MSGCONV(1)
π MSGCONV(1) β the msgconv glow-up π
User Commands β¨ like, the manual page for msgconv, bestie. Sit down, grab a boba, we're doing character set conversion for message catalogs and it's gonna be iconic. π§
πΈ NAME πΈ
msgconv β character set conversion for message catalog. that's the whole job description, she's simple, she's effective, she slays. π
β¨ SYNOPSIS β¨
msgconv [OPTION] [INPUTFILE]
π¦ DESCRIPTION π¦
Converts a translation catalog to a different character encoding. Literally just a glow-up for your catalog's encoding. π
Mandatory arguments to long options are mandatory for short options too. (no cap β if the long version needs a value, the short one does too, don't play with her.)
π Input file location:
INPUTFILEβ the input PO file, bestie. that's the one you're feeding in.-D,--directory=DIRECTORYβ addDIRECTORYto the list for input files search. ποΈ
If no input file is given or if it is -, standard input is read. (yep, the classic - = "read from stdin" move, we love a dash.)
π Output file location:
-o,--output-file=FILEβ write output to the specified file. πΎ
The results are written to standard output if no output file is specified or if it is -. so like, no file? you get stdout. file is -? you get stdout. it's giving consistent.
π Conversion target:
-t,--to-code=NAMEβ encoding for output. this is THE one. the main character option. the encoding you want out. π
The default encoding is the current locale's encoding. so if you don't pick, she picks for you based on your locale. iykyk.
π€ Input file syntax:
-P,--properties-inputβ input file is in Java.propertiessyntax. β--stringtable-inputβ input file is in NeXTstep/GNUstep.stringssyntax. π
π Output details:
--colorβ use colors and other text attributes always. π--color=WHENβ use colors and other text attributes if WHEN. WHEN may be'always','never','auto', or'html'. (four options, pick your fighter.)--style=STYLEFILEβ specify CSS style rule file for--color. π-e,--no-escapeβ do not use C escapes in output (default). this is the default, so like, you're already here.-E,--escapeβ use C escapes in output, no extended chars. no extended chars at all, periodt.--force-poβ write PO file even if empty. yes bestie, even when it's empty. she said i don't care, i'm writing it anyway.-i,--indentβ indented output style. π--no-locationβ suppress'#: filename:line'lines. π-n,--add-locationβ preserve'#: filename:line'lines (default). π--strictβ strict Uniforum output style. strict!! she's not messing around.-p,--properties-outputβ write out a Java.propertiesfile. β--stringtable-outputβ write out a NeXTstep/GNUstep.stringsfile. π-w,--width=NUMBERβ set output page width. π--no-wrapβ do not break long message lines, longer than the output page width, into several lines. she said "i will NOT be wrapping, thank you." π«-s,--sort-outputβ generate sorted output. π€-F,--sort-by-fileβ sort output by file location. ποΈ
π¬ Informative output:
-h,--helpβ display this help and exit. π-V,--versionβ output version information and exit. π·οΈ
π AUTHOR π
Written by Bruno Haible. genuinely the moment. thank you Bruno. π«Ά
π REPORTING BUGS π
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>. found a bug? don't be shy, tell them, they wanna know fr fr.
Β©οΈ COPYRIGHT Β©οΈ
Copyright Β© 2001-2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. NO WARRANTY bestie, like literally none, to the extent permitted by law. read it and weep (or just read it). π
π SEE ALSO π
The full documentation for msgconv is maintained as a Texinfo manual. If the info and msgconv programs are properly installed at your site, the command
info msgconv
should give you access to the complete manual. go read the full thing, she's got lore. π
okay that's the whole page!! this was GNU gettext-tools 1.0, dated January 2026 β ty for coming to my ted talk, mwah, go convert some catalogs πβ¨ππ¦πΈπ
π¦ where this page comes from
- alpine 3.24: gettext-doc 1.0-r0 Β· GPL-3.0-or-later AND LGPL-2.1-or-later AND MIT
- arch rolling: gettext 1.0-2 Β· GFDL-1.2-only AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only
- nixos 26.05: gettext 1.0
- nixpkgs unstable: gettext 1.0
- ubuntu stonking: gettext 1.0-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms