[PR #1229] [CLOSED] [FIX] Fix multibyte string handling for accurate byte and character operations #1357

Closed
opened 2026-02-25 21:38:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/1229
Author: @kambereBr
Created: 9/8/2024
Status: Closed

Base: masterHead: fix-php-multibyte-issues


📝 Commits (1)

  • b1b5f5b [FIX] Revert mb_strlen to strlen for accurate byte count

📊 Changes

3 files changed (+9 additions, -9 deletions)

View changed files

📝 modules/core/functions.php (+4 -4)
📝 modules/core/message_functions.php (+1 -1)
📝 modules/imap/hm-imap-base.php (+4 -4)

📄 Description

This PR fixes multibyte string handling for accurate byte and character operations, preventing string processing issues.

Issues

https://github.com/cypht-org/cypht/issues/1222
https://github.com/cypht-org/cypht/issues/1224


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/1229 **Author:** [@kambereBr](https://github.com/kambereBr) **Created:** 9/8/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-php-multibyte-issues` --- ### 📝 Commits (1) - [`b1b5f5b`](https://github.com/cypht-org/cypht/commit/b1b5f5b53705a8d1f3ab33860a618ecb4395521f) [FIX] Revert mb_strlen to strlen for accurate byte count ### 📊 Changes **3 files changed** (+9 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `modules/core/functions.php` (+4 -4) 📝 `modules/core/message_functions.php` (+1 -1) 📝 `modules/imap/hm-imap-base.php` (+4 -4) </details> ### 📄 Description This PR fixes multibyte string handling for accurate byte and character operations, preventing string processing issues. ### Issues https://github.com/cypht-org/cypht/issues/1222 https://github.com/cypht-org/cypht/issues/1224 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:38:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1357
No description provided.