case-folding

Tag

Cards List
#case-folding

When str.lower() is a security vulnerability in Python

Lobsters Hottest · 2026-08-18 Cached

The article explains how Python's str.lower() function can introduce a security vulnerability in IDNA encoding due to mismatched Unicode versions, causing non-compliance with RFC standards and leading to inconsistent domain name handling.

0 favorites 0 likes
#case-folding

Don't stop early: Case-folding source code at memory speed

Hacker News Top · 2026-07-31 Cached

GitHub engineering describes how they optimized case-folding for their code search engine by removing early-exit branches, achieving memory-speed ASCII folding, and open-sourcing the result as a Rust crate called casefold.

0 favorites 0 likes
#case-folding

Show HN: Mojibake – a low-level Unicode library written in C

Hacker News Top · 2026-07-16 Cached

Mojibake is a self-contained Unicode 17 library for C11/C++17, providing normalization, case conversion, and character database functions with zero dependencies.

0 favorites 0 likes
← Back to home

Submit Feedback