View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020042 | mantisbt | public | 2015-08-18 19:18 | 2015-09-06 17:37 | |
Reporter | badfiles | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 1.3.0-beta.3 | Fixed in Version | 1.3.0-beta.3 | ||
Summary | 0020042: Wrong character counting in localized e-mails | ||||
Description | str_pad () counts utf-8 characters as 2, but the application design demands counting as 1. | ||||
Tags | No tags attached. | ||||
Are you talking about this single line of code in function email_format_bug_message where str_pad should be replaced by utf8_str_pad? $t_message .= $t_email_separator1 . "\n" . str_pad( lang_get( 'bug_relationships' ), 20 ) . str_pad( lang_get( 'id' ), 8 ) . lang_get( 'summary' ) . "\n" . $t_email_separator2 . "\n" . $p_visible_bug_data['relations']; |
|
Well, yes. |
|