View Issue Details

IDProjectCategoryView StatusLast Update
0005401mantisbtbugtrackerpublic2006-02-04 05:47
Reportersabio Assigned Tojlatour  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Product Versiongit trunk 
Summary0005401: Cyrillic characters encoding problem
Description

Used cyrillic characters in bug description/notes are displayed as
Сд...

Injecting
$p_string = eregi_replace( "&(\d*)", "&#\1", $p_string );
into 'string_restore_valid_html_tags' workarounds the problem.
However email notifications are still ugly.

Besides in emails #nnn is replaced with bug links so display becomes even worse:
&http://localhost/mantis/view.php?id=1057;&http://localhost/mantis/view.php?id=1076;...

Additional Information

I believe it's not only for cyrillic chars but for all symbols outside default Mantis codepage.

TagsNo tags attached.

Relationships

duplicate of 0004084 closedsiebrand [all lang] Use UTF-8 codepage 

Activities

sabio

sabio

2005-04-04 11:53

reporter   ~0009707

Hmm..
Mantis corrupted the samples I provided. :(
Will try to fool him with the following ones:

&# 1057;&# 1076;...

&http: //localhost/mantis/view.php?id=1057;&http: //localhost/mantis/view.php?id=1076;...

(all I did is just inserted some spaces)

salmira

salmira

2005-11-24 05:55

reporter   ~0011649

The issue can be solved by changing the charset in the default english.txt

charset = 'windows-1251';

Unfortunatelly, this solution works only when a language with fixed charset is chosen.