View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006494 | mantisbt | webpage | public | 2005-12-13 07:33 | 2006-12-08 02:38 |
Reporter | robson | Assigned To | achumakov | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.0rc4 | ||||
Fixed in Version | 1.1.0a2 | ||||
Summary | 0006494: charset iso-8859-2 not supported | ||||
Description | I set up language to polish without any problems. As bug.mantisbt.org upgraded to rc4 I get cluttered everywhere with annoying message: "SYSTEM WARNING: htmlspecialchars(): charset `iso-8859-2' not supported, assuming iso-8859-1" everywhere: even in project selection list! | ||||
Tags | No tags attached. | ||||
related to | 0006474 | closed | jlatour | Calls to htmlspecialchars should take into account the current charset |
has duplicate | 0006624 | closed | htmlspecialchars: charset `iso-8859-2' not supported | |
has duplicate | 0006779 | closed | Unsupported charset `iso-8859-2' | |
has duplicate | 0006999 | closed | ryandesign | PHP error during changelog wiev in polish version |
has duplicate | 0007049 | closed | vboctor | Polish language leads to "charset 'iso-8859-2' not supported" |
has duplicate | 0007235 | closed | strings_czech.txt sets wrong charset | |
has duplicate | 0007396 | closed | achumakov | [hu] SYSTEM WARNING: charset `iso-8859-2' not supported, assuming iso-8859-1 |
has duplicate | 0007539 | closed | ryandesign | Error shown in drop-down list of project |
has duplicate | 0007969 | closed | ryandesign | SYSTEM WARNING: htmlspecialchars(): charset `iso-8859-2' not supported, assuming iso-8859-1 |
related to | 0008562 | closed | grangeway | SYSTEM WARNING: htmlspecialchars(): charset `windows-874' not supported, assuming iso-8859-1 |
child of | 0005460 | closed | vboctor | Critical Issues to Fix for Mantis 1.0.0 Release |
child of | 0007052 | closed | vboctor | Mantis 1.0.4 Release |
I think issue 0006474 is involved here. |
|
Same symptom for 'euc-kr'.
DB's also encoded euc-kr. |
|
afterall, temporarilly disabled inline waring for my case; |
|
See my 0007235 for the solution. |
|
There is a simple and good solution: Use UTF8. |
|
I wonder if "use UTF-8" is a solution for a problem where a simply WRONG ISO charset has been entered in source files. |
|
I can confirm that this issue exists at my bugtracker (http://bugtracker.driverpacks.net/) too. I checked bug 0007235 to find the solution, but it was closed to continue the discussion here. Could somebody confirm that the solution suggested in 0007235 IS indeed the solution? If not, could somebody please point me to a solution? |
|
@wimleers: As the non-existing iso definition was placed in the Mantis sources, I ran into problems with our Czech forums - like many other Mantis users did. My solution as listed in 0007235 works fine and is safe for older browsers which do not support 'utf-8' already. But if you can be sure that your visitors do only use utf-8 compatible browsers, you can use 'utf-8', of course. It's your choice. |
|
The same bug happens for iso-8859-9 -- actually for any charset that is not supported by the htmlspecial* functions. A second charset definition for these functions in the language filesshould do the trick? |
|
I wonder WHO entered these undefined iso definitions into the source code. Shouldn't he/she simply correct these mistakes instead of forcing us to fix the sources or create hacks? |
|
@UlfDunkel: thanks for confirming that that IS a solution. I made the changes you suggested to both the Polish and the Czech language files and can confirm that it's working flawlessly now! :) Thanks! |
|
Fixed for all languages involved. |
|