UTF-8
「UTF-8」を扱った12問。日付を開くと、その日のドリルがそのまま読めます。日付の横の動物は難易度で、ハリネズミ・孔雀・バイソン・クジラの順に重くなります。
- Rust / WRITE · 2026-11-18 先頭バイトから長さを知る UTF-8, 先頭バイト, 継続バイト, バイト列の長さ, leading_ones, leading byte, continuation byte, UTF-8 validation
- Rust / READ · 2026-11-18 バイトごとのas char UTF-8, 文字化け, as char, 符号位置, Latin-1, mojibake, code point, byte to char
- Rust / DEBUG · 2026-11-18 u8のまま左シフト UTF-8 のデコード, 左シフト, 型の幅, 上位ビットの切り捨て, as u32, u32::from, shift overflow, decode utf-8
- C / WRITE · 2026-11-17 いちばん多いバイト 出現回数, 度数表, バイトの頻度, unsigned char への変換, char の符号, byte frequency, histogram, signedness of char
- Rust / READ · 2026-11-16 同じcaféの違う中身 Unicode正規化, 合成済み文字, 結合文字, NFC, NFD, UTF-8のバイト長, 文字列比較, Unicode normalization, combining character, precomposed character
- Rust / DEBUG · 2026-11-15 文字の位置で切る文字列 自然順ソート, 文字の位置, バイトの位置, 文字列スライス, chars, find, char boundary, byte index, natural sort
- Rust / DEBUG · 2026-11-10 1文字目だけ残す 文字列スライス, バイト位置, 文字境界, UTF-8, char_indices, chars, メールアドレスのマスキング, char boundary, string slicing
- C++ / READ · 2026-11-06 同じ見た目の距離 編集距離, レーベンシュタイン距離, UTF-8, char8_t, 結合文字, Unicode正規化, edit distance, Levenshtein distance, combining character, code unit
- Rust / READ · 2026-10-27 切れ目で割れた文字 メッセージの区切り, UTF-8の多バイト文字, from_utf8_lossy, 置換文字, message framing, replacement character
- C / WRITE · 2026-10-03 先頭n文字のバイト数 UTF-8の切り詰め, 継続バイト, 文字境界, UTF-8 truncation, continuation byte, code point boundary
- C / READ · 2026-10-03 naïveの長さを数える UTF-8のバイト数, 文字数とバイト数, u8文字列リテラル, char8_t, UTF-8 byte length, string length in bytes
- C / DEBUG · 2026-10-03 文字列を角括弧で囲む 文字数とバイト数, mallocの大きさ, ヒープバッファオーバーフロー, heap buffer overflow, strlen vs character count