php / php/doc-ja

SJIS-win などのエンコーディングが mb_list_encodings の一覧から消えているが、マニュアルには残っている

Open
#32 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
XML
Stars
93
Forks
86
Avg merge
9h
Merged PRs (30d)
15

Description

refs: https://github.com/php/php-src/commit/e2459857afdf70ed4bc23bc7f614e9f383eb3072

  • A) PHP 8.1 から、SJIS-win, SJIS-open, SJIS-ms は、 CP932 のエイリアスとして扱われるようになった
  • B) A) のエンコーディングが、mb_list_encodings の出力から消えた
  • C) だが、マニュアルには残っているので、修正すべき
    • migration guide も修正対象に含めるべきと考えられる
    • 但し、mbstring の関数でこれらのエンコーディングが使えなくなったわけではない
      • おそらくは mb_list_encodings の例だけをまずは修正することになると考えられる。

そもそも A) や B) が php-src 的に正しい修正かが判断できないので、まずは、日本語版の issue に記録しておく。
現状が追認されるようなら、英語版も含めたマニュアルそのものの修正も視野に入れる。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing commit e2459857afdf70ed4bc23bc7f614e9f383eb3072 and the mb_list_encodings manual page to confirm whether the SJIS-win, SJIS-open, and SJIS-ms aliases should remain documented. Check the migration guide as a possible second documentation location; done means the Japanese and English documentation accurately reflect the confirmed PHP behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.