.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "UJCONV 1p" .TH UJCONV 1p 2024-03-07 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME ujconv \-\- reinvented iconv(1) using Unicode::Japanese .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 4 \& ujconv [\-f from_encoding] [\-t to_encoding] [\-s string] [files...] \& ujconv \-l \& ujconv \-h \& ujconv \-V .Ve .SH VERSION .IX Header "VERSION" ujconv 0.02 .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBujconv\fR is an iconv-like tool which is written in perl using Unicode::Japanese. .PP \&\fBujconv\fR reads text from STDIN or files, convert them, and print them to STDOUT. .PP Available options are as follows. Each options can be in short form (\-f) or long form (\-\-from): .IP "\-f,\-\-from \fIfrom_encoding\fR" 4 .IX Item "-f,--from from_encoding" Convert characters from \fIfrom_encoding\fR. Unlike \fBiconv\fR this option can be omitted. In that case, the encoding of the input is guessed by \fBujconv\fR. .IP "\-t,\-\-to \fIto_encoding\fR" 4 .IX Item "-t,--to to_encoding" Convert characters to \fIto_encoding\fR. .IP "\-s,\-\-string \fIstring\fR" 4 .IX Item "-s,--string string" Input from the argument string instead of file or STDIN. .IP \-l,\-\-list 4 .IX Item "-l,--list" List all available encodings, one name per each lines. .IP \-h,\-\-help 4 .IX Item "-h,--help" Print a short help message. .IP \-V,\-\-version 4 .IX Item "-V,--version" Print the version of \fBujconv\fR. .SH "SEE ALSO" .IX Header "SEE ALSO" Unicode::Japanese, \&\fBpiconv\fR\|(1), \&\fBiconv\fR\|(1), ujguess