Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

rev: multibyte characters are reversed byte by byte in UTF-8 locales

オープン
#656 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@SichenLiang がすでに取り組んでいます。

2026年10月6日 から。

  • #657 @SichenLiang による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
cli

調査の方向性

Start by locating the rev command implementation and its tests, then run the UTF-8 reproduction from the issue with LC_ALL=C.UTF-8. Compare its output with the stated util-linux behavior, including the combining mark. Done means reversing Unicode code points rather than the bytes within multibyte characters.

索引モデルが issue の本文から書いたものです。

説明

uutils rev reverses each line byte by byte even in a UTF-8 locale. This reverses the bytes inside every multibyte character and produces invalid UTF-8. util-linux 2.42.4 reverses the order of code points instead.

Set UTIL_LINUX_REV to the absolute path to the rev binary from util-linux 2.42.4.

printf 'aé中🙂b\ne\314\201x\n' | LC_ALL=C.UTF-8 "$UTIL_LINUX_REV"

util-linux prints b🙂中éa, followed by x, U+0301, and e. uutils reverses the bytes inside é, 中, 🙂, and the combining mark.

主要言語
Rust
スター
223
フォーク
61
平均マージ
2日 13時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

uutils/util-linux のほかの issue

uutils/util-linux の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。