View Issue Details

IDProjectCategoryView StatusLast Update
0006494mantisbtwebpagepublic2006-12-08 02:38
Reporterrobson Assigned Toachumakov  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc4 
Fixed in Version1.1.0a2 
Summary0006494: 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!

TagsNo tags attached.

Relationships

related to 0006474 closedjlatour Calls to htmlspecialchars should take into account the current charset 
has duplicate 0006624 closedWanderer htmlspecialchars: charset `iso-8859-2' not supported 
has duplicate 0006779 closedWanderer Unsupported charset `iso-8859-2' 
has duplicate 0006999 closedryandesign PHP error during changelog wiev in polish version 
has duplicate 0007049 closedvboctor Polish language leads to "charset 'iso-8859-2' not supported" 
has duplicate 0007235 closedWanderer strings_czech.txt sets wrong charset 
has duplicate 0007396 closedachumakov [hu] SYSTEM WARNING: charset `iso-8859-2' not supported, assuming iso-8859-1 
has duplicate 0007539 closedryandesign Error shown in drop-down list of project 
has duplicate 0007969 closedryandesign SYSTEM WARNING: htmlspecialchars(): charset `iso-8859-2' not supported, assuming iso-8859-1 
related to 0008562 closedgrangeway SYSTEM WARNING: htmlspecialchars(): charset `windows-874' not supported, assuming iso-8859-1 
child of 0005460 closedvboctor Critical Issues to Fix for Mantis 1.0.0 Release 
child of 0007052 closedvboctor Mantis 1.0.4 Release 

Activities

robson

robson

2005-12-13 07:37

reporter   ~0011787

I think issue 0006474 is involved here.

extrealm

extrealm

2005-12-19 14:38

reporter   ~0011818

Last edited: 2005-12-19 14:48

Same symptom for 'euc-kr'.
Issue 0006474 is set to resolved in 1.1.0 string api, but i'm not sure it's done.

  • ISO-8859-1, ISO-8859-15, UTF-8, cp1252, BIG5, GB2312, BIG5-HKSCS, SJIS, EUC-JP ( > PHP4.1.0)
  • cp866, cp1251, KOI8-R ( > PHP 4.3.2)

DB's also encoded euc-kr.

extrealm

extrealm

2005-12-19 15:00

reporter   ~0011820

afterall, temporarilly disabled inline waring for my case;

$g_display_errors = array(
    E_WARNING => 'none',
    E_NOTICE => 'none',
    E_USER_ERROR => 'halt',
    E_USER_WARNING => 'none',
    E_USER_NOTICE => 'none'
);
UlfDunkel

UlfDunkel

2006-07-12 15:57

reporter   ~0013093

See my 0007235 for the solution.

gce

gce

2006-07-26 13:15

reporter   ~0013155

There is a simple and good solution: Use UTF8.
See 0007049:0012854 in issue 0007049 and 0007235:0013111 in issue 0007235.

UlfDunkel

UlfDunkel

2006-08-07 04:55

reporter   ~0013209

I wonder if "use UTF-8" is a solution for a problem where a simply WRONG ISO charset has been entered in source files.

wimleers

wimleers

2006-08-09 13:33

reporter   ~0013244

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?

UlfDunkel

UlfDunkel

2006-08-10 03:29

reporter   ~0013245

@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.

dfisek

dfisek

2006-08-10 03:49

reporter   ~0013246

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?

UlfDunkel

UlfDunkel

2006-08-10 04:08

reporter   ~0013247

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?

wimleers

wimleers

2006-08-10 05:24

reporter   ~0013248

@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!

achumakov

achumakov

2006-09-30 18:43

reporter   ~0013561

Fixed for all languages involved.