Skip to content

Conversation

@the-infinity
Copy link
Contributor

Resolves #153 by extending the PrintableStringValidator


return super().validate(input_data=repr(input_data)[1:-1])
# Filter out unprintable characters
input_data = self.filtered_char_re.sub('', input_data)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this remove a protected space from the string completely or will a non-protected space remain?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will remove the protected space. I thought about replaces it with a non protected space, but all occurances were just copy paste issues where the protected space was in beginning or end.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... will merge it now as it's not missing critical to change this behavior, and the current state is already an improvement. Will adapt a change in the next release if necessary.

@the-infinity the-infinity merged commit 2f1b3fc into main Nov 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

special characters in Charging Station Names

3 participants