View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006833 | mantisbt | bugtracker | public | 2006-03-12 10:06 | 2009-06-23 15:28 |
Reporter | claudiu_cristea | Assigned To | grangeway | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.0 | ||||
Fixed in Version | 1.2.0rc1 | ||||
Summary | 0006833: Incorrect handling of some UTF-8 strings | ||||
Description | The PHP function strtoupper() is used in some scripts but this function cannot convert some multibyte strings to uppercase. Consider using mb_strtoupper() to have a correct uppercase representation. Example: | ||||
Additional Information | Scripts affected: | ||||
Tags | No tags attached. | ||||
Attached Files | patch.txt (1,235 bytes)
Index: manage_config_email_page.php =================================================================== RCS file: /usr/local/cvsroot/grafitsolutions/public_html/mantis/manage_config_email_page.php,v retrieving revision 1.1 diff -u -r1.1 manage_config_email_page.php --- manage_config_email_page.php 11 Mar 2006 15:15:28 -0000 1.1 +++ manage_config_email_page.php 12 Mar 2006 15:14:36 -0000 @@ -126,7 +126,7 @@ global $t_project; $t_access_levels = explode_enum_string( config_get( 'access_levels_enum_string' ) ); echo '<table class="width100">'; - echo '<tr><td class="form-title" colspan="' . ( count( $t_access_levels ) + 7 ) . '">' . strtoupper( $p_section_name ) . '</td></tr>' . "\n"; + echo '<tr><td class="form-title" colspan="' . ( count( $t_access_levels ) + 7 ) . '">' . mb_strtoupper( $p_section_name, lang_get( 'charset' ) ) . '</td></tr>' . "\n"; echo '<tr><td class="form-title" width="30%" rowspan="2">' . lang_get( 'message' ) . '</td>'; echo'<td class="form-title" style="text-align:center" rowspan="2"> ' . lang_get( 'issue_reporter' ) . ' </td>'; echo '<td class="form-title" style="text-align:center" rowspan="2"> ' . lang_get( 'issue_handler' ) . ' </td>'; | ||||