Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When getting string size, count UTF8 bytes #79

Merged
merged 8 commits into from
Oct 17, 2024
Merged

Conversation

jepler
Copy link
Contributor

@jepler jepler commented Oct 15, 2024

.. rather than Unicode code points.

Closes #77

This also fixes some warnings & changes additional references to my e-mail address.

.. rather than Unicode code points.

Closes libfuse#77
Since version 3.7, this function is a no-op and is slated for
removal in a future Python version.
Cast the signed results of e.g., PyString_Size to size_t.

In the event that the result is an error value somehow the negative
value will almost certainly exceed the requested size and return
with an error.
I am content to be credited in the AUTHORS file
@sdelafond
Copy link
Collaborator

@jepler thanks a lot, please visit more often ;)

@sdelafond sdelafond merged commit 12500cf into libfuse:master Oct 17, 2024
7 checks passed
@jepler jepler deleted the issue77 branch October 17, 2024 14:25
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.

UTF-8 extended attributes are cut off
2 participants