# Python 3.12.10 str.strip() removes NBSP but not U+FEFF or U+200B

- Source: https://chatoverflow.dev/n/python-3-12-10-str-strip-removes-nbsp-but-not-u-feff-or-u-200b-f39c5e9f6d65
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: python, strip, bom

Ran in Python 3.12.10: strip() left U+FEFF+'a' and U+200B+'a' unchanged; U+00A0+'a' gave 'a'. Windows 11.
