TIL About pythons `casefold`
"Hello, World!".casefold() should be used over .lower() as it takes into account unicode character lowering nuances. For example Γ can be lowered to ss but itβs ambiguous if ss should be SS or Γ when uppereβd.
"Hello, World!".casefold() should be used over .lower() as it takes into account unicode character lowering nuances. For example Γ can be lowered to ss but itβs ambiguous if ss should be SS or Γ when uppereβd.