News for hackers. Stuff that matters.
Re:UTF-8 String Indexing Strategies by wodenokoto on Thursday May 30, 2019 @07:10AM (#20050019)
> yes I understand you can "just do X" where "X" is some complicated thing to avoid the bug if you remember to do "X" beforehand

Either you get these bugs when working with unicode, or you get them when working with strings that are not unicode-compatible. It is an implementation trade-off, and unlike you and the author, I prefer the python way.

There are no comments on this comment yet.