str.replace("", new) is byte-oriented and can produce invalid UTF-8 for non-ASCII strings
March 15, 2026 ยท #420
Python
Difficulty: Medium
Parent Repository
spylang/spy
Python repository
724 48
spylang/spy
Python repository
Sign in required
Authenticate to use favourites & bookmarks