johanneshk
Results
2
comments of
johanneshk
I'm trying to understand progress on this issue, the only related ticket I could find in pydantic-core is https://github.com/pydantic/pydantic-core/issues/1078 but it's been closed in favor of this one. @anurag-thyme have...
So the assumption here is: The user knows if her string contains encoded characters? In that case calling `len(string)` wouldn't suffice, instead one would need to do `len(string.encode('encoding'))` as demonstrated...