.\" Man page for manconv .\" .\" Copyright (c) 2007, 2008 Colin Watson .\" .\" You may distribute under the terms of the GNU General Public .\" License as specified in the file docs/COPYING.GPLv2 that comes with the .\" man-db distribution. .pc "" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH MANCONV 1 2026-11-16 2.13.3 手動分頁工具 .SH 名稱 manconv \- 將手動分頁從一種編碼轉換為另一種編碼 .SH 語法 \fBmanconv\fP \fB\-f\fP [\|\fIfrom\-code\fP\|[:\fIfrom\-code\fP\|.\|.\|.]\|] \fB\-t\fP \fIto\-code\fP [\|\fB\-dqhV\fP\|] [\|\fIfilename\fP\|] .SH 描述 \fBmanconv\fP 將手動分頁從一種編碼轉換為另一種編碼,就像 \fBiconv\fP。與 \fBiconv\fP 不同,它可以依序嘗試多種可能的輸入編碼。這對於安裝在沒有明確編碼宣告的目錄中的手動分頁很有用,因為它們可能是 UTF\-8 或舊字元集。 .PP 如果在手動分頁的第一行找到編碼宣告,該宣告會覆寫 \fBmanconv\fP 命令列上指定的任何輸入編碼。編碼宣告有以下格式: .PP .RS .nf .if !'po4a'hide' \&\(aq\e" \-*\- coding: UTF\-8 \-*\- .fi .RE .PP 或(如果也要宣告手動分頁預處理程式): .PP .RS .nf .if !'po4a'hide' \&\(aq\e" t \-*\- coding: ISO\-8859\-1 \-*\- .fi .RE .SH 選項 .TP \fB\-f\fP \fIencodings\fP, \fB\-\-from\-code\fP \fIencodings\fP 依序嘗試 \fIencodings\fP(以冒號分隔的清單)作為輸入編碼。預設是根據檔案名稱猜測可能的輸入編碼。 .TP \fB\-t\fP \fIencoding\fP, \fB\-\-to\-code\fP \fIencoding\fP 將手動分頁轉換為 \fIencoding\fP。 .TP .if !'po4a'hide' .BR \-q ", " \-\-quiet 當頁面無法轉換時,不發出錯誤訊息。 .TP .if !'po4a'hide' .BR \-d ", " \-\-debug 列印除錯資訊。 .TP .if !'po4a'hide' .BR \-h ", " \-\-help 列印說明訊息並退出。 .TP .if !'po4a'hide' .BR \-V ", " \-\-version 顯示版本資訊。 .SH 請參閱 .if !'po4a'hide' .IR iconv (1), .if !'po4a'hide' .IR man (1), .if !'po4a'hide' .IR man-recode (1) .SH 作者 .nf .if !'po4a'hide' Colin Watson (cjwatson@debian.org). .fi .SH 錯誤 .if !'po4a'hide' https://gitlab.com/man-db/man-db/\-/issues .br .if !'po4a'hide' https://savannah.nongnu.org/bugs/?group=man\-db