View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005850 | mantisbt | localization | public | 2005-06-27 10:43 | 2009-06-23 15:28 |
Reporter | ave | Assigned To | siebrand | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.0a3 | ||||
Fixed in Version | 1.2.0rc1 | ||||
Summary | 0005850: [CJK] Section titles are garbled under Japanese. | ||||
Description | strtoupper() function returns invalid result if parameter is Japanse string. adm_permissions_report.php | ||||
Additional Information | Workaround I've found: I think (1) is better because (2) requires '--enable-mbstring' configure option. | ||||
Tags | No tags attached. | ||||
The translation of Japanese includes three files (stringjapanese{euc,sjis,utf8}.txt). but, only when string_japanese_sjis.txt is used, strtopos() returns invalid result. It overlaps with ASCII code because "SJIS" uses 0x40-0x7E ('a-z', 'A-Z' etc) for the second byte.When strtoupper() converts the second byte, it becomes a character not intended as Japanese. I think that it is the best to use "string_japanese_utf.txt", not using SJIS because there is a problem like 0007439. if possible, I hope
|
|
Mantis uses UFT-8 in 1.2.x. Can you please retest with Mantis 1.2.0a2 or later? We expect this issue to be RESOLVED. |
|
This has been resolved in master 1.2.x. strtoupper and strtolower have been removed whereever it could have an impact. Usage still remains in for example phpmailer. The solution there is to use mb_string in php. |
|
Thanks for fixing. |
|