summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram <perl-rt@wizbit.be>2022-09-03 18:50:38 +0200
committerYves Orton <demerphq@gmail.com>2022-09-05 20:39:49 +0200
commit108b5e9d6ce986b66cc9fb02e28db203021d79b9 (patch)
treea526540db6a580ecf49b39ceb41044bce9f14061
parentebf8e1962065fb9f16a6f6c76fa3c0d49d6e7193 (diff)
downloadperl-108b5e9d6ce986b66cc9fb02e28db203021d79b9.tar.gz
Move '=encoding utf8' after preamble
All the READMEs start with a preamble describing that the file is written in the POD format. When the '=encoding' line is put before the preamble then the preamble is also rendered when viewing the file with `perldoc` (and/or when viewing the file as POD). Fix: move '=encoding' to the place where the actual POD starts.
-rw-r--r--README.cn4
-rw-r--r--README.ko3
-rw-r--r--README.tw4
3 files changed, 5 insertions, 6 deletions
diff --git a/README.cn b/README.cn
index 05c2db6b07..a12482f077 100644
--- a/README.cn
+++ b/README.cn
@@ -1,9 +1,9 @@
-=encoding utf8
-
如果你用一般的文字编辑器阅览这份文件, 请忽略文中奇特的注记字符.
这份文件是以 POD (简明文件格式) 写成; 这种格式是为了能让人直接阅读,
而特别设计的. 关于此格式的进一步信息, 请参考 perlpod 在线文档.
+=encoding utf8
+
=head1 NAME
perlcn - 简体中文 Perl 指南
diff --git a/README.ko b/README.ko
index 71d7d6ac52..9d6b897a85 100644
--- a/README.ko
+++ b/README.ko
@@ -1,9 +1,8 @@
-=encoding utf8
-
이 파일을 내용 그대로 읽고 있다면 우스꽝스러운 문자는 무시해주세요.
이 문서는 POD로 읽을 수 있도록 POD 형식(F<pod/perlpod.pod> 문서를
확인하세요)으로 작성되어 있습니다.
+=encoding utf8
=head1 NAME
diff --git a/README.tw b/README.tw
index d381d63069..10e89e10c1 100644
--- a/README.tw
+++ b/README.tw
@@ -1,9 +1,9 @@
-=encoding utf8
-
如果你用一般的文字編輯器閱覽這份文件, 請忽略文中奇特的註記字符.
這份文件是以 POD (簡明文件格式) 寫成; 這種格式是為了能讓人直接讀取,
而特別設計的. 關於此格式的進一步資訊, 請參考 perlpod 線上文件.
+=encoding utf8
+
=head1 NAME
perltw - 正體中文 Perl 指南