Opened 4 years ago
Closed 4 years ago
#9692 closed enhancement (fixed)
seems_utf8() can be improved
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Charset | Version: | 2.7.1 |
| Severity: | normal | Keywords: | has-patch tested |
| Cc: |
Description
while working on a utf8 related issue I ran over some little improvements of the seems_utf8() function originally be bmorel at ssi dot fr.
larger string can benefit from a pass by reference and there is no need to call ord($str[CONST])) multiple time for the same value.
Attachments (3)
Change History (8)
- Keywords has-patch added
- Keywords needs-testing added
comment:3
peaceablewhale — 4 years ago
- Keywords tested added; needs-testing removed
Tested. Please refer to the test script for details.
- Component changed from General to Charset
Note: See
TracTickets for help on using
tickets.

seems_utf8() some improvements incl. comments.