View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024353 | mantisbt | code cleanup | public | 2018-04-24 13:58 | 2018-04-29 19:21 |
Reporter | SL-Gundam | Assigned To | atrol | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.13.1 | ||||
Target Version | 2.13.2 | Fixed in Version | 2.13.2 | ||
Summary | 0024353: mb_internal_encoding no longer being set because of removal utf8 library | ||||
Description | MantisBT team has made mbstring a requirement. This has resulted in the deletion of this utf-8 folder I believe this has resulted in the loss of some important code since this line is now not being executed anywhere in MantisBT If MantisBT is setting the internal encoding charset differently these days i would really like to know so that i can adjust EmailReporting accordingly | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
I think this explains it http://php.net/manual/en/ini.core.php#ini.default-charset So we have to reintroduce |
|
In my opinion longer since a default value does not guarantee that will actually be the value On the other hand MantisBT requires UTF-8 without exception |
|
You are right, change mode is Another option could be to check the right setting just during installation and when running admin/check/index.php. |
|
MantisBT: master-2.13 4471fe41 2018-04-24 10:42 Details Diff |
Set default encoding to UTF-8 Ensure that encoding is always set to UTF-8 independant from any PHP default or ini setting http://php.net/manual/en/ini.core.php#ini.default-charset Fixes 0024353 |
Affected Issues 0024353 |
|
mod - core.php | Diff File |