Skip to content

Conversation

@lestcape
Copy link
Collaborator

@lestcape lestcape commented Feb 13, 2024

This improve the calculation of the required bytes of an string that should be stored using a user custom charset.

The idea is delegate the cut to the buffer that is who really know the final charset of the string in the stream (the sav file). At same time this cut the string using the bytes representation instead of the character length representation of the charset. See mb_strcut for more details.

@lestcape lestcape force-pushed the CutString branch 2 times, most recently from cf33cba to 14ac67a Compare April 25, 2025 20:14
… internal encoding as the source for the encoding
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.

1 participant