View Issue Details

IDProjectCategoryView StatusLast Update
0004742mantisbtlocalizationpublic2009-01-15 11:26
Reporterob Assigned Tosiebrand  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.0 
Fixed in Version1.2.0a3 
Summary0004742: [all lang] Mix languages in messages
Description

Hi All!

I found curious bug in mantis 0.19.0. If you logged in English (codepage windows-1252) and write message in another language (etc. another codepage), this message will be stored in database in HTML-formatted unicode as &#<digits>;

You can test it: это сообщение на русском языке

This message will be converted by htmlspecialchars() function (./core/string_api.php: string_attribute(), string_display) to wrong HTML-string as &#<digits>;
And if you have corresponding bug numbers after #-sign in database, those will be converted to bug-links. LOL 8-)

So, the result is bad 8-(

If you use the same language/codepage to log in and to write messages, it will work ok.

It would be great, if users could mix interface and messages language at the same time. It's a really actual problem!

Additional Information

Good luck, boys.

TagsNo tags attached.

Relationships

related to 0004084 closedsiebrand [all lang] Use UTF-8 codepage 

Activities

deviant

deviant

2005-01-24 13:40

reporter   ~0009073

It seems to be a problem in php4apache2.dll module, but I can mistake.
Whats despirits - is that noone doesn't solving this problem, and no reaction came.
And I agree, it's very actual.

Wanderer

Wanderer

2005-01-24 23:14

developer   ~0009089

It can be solved while every language use own 8-bit charset.
If anybody wants multilanguage-mix on one page, he must translate all needed language-files into at least UTF8

deviant

deviant

2005-01-25 12:52

reporter   ~0009099

I had this problem on Apache 2 + PHP 4
And there's nothing similar in Apache 1.3.
So, one more solution could be to use Apache from 1.3 branch.
I use 1.3.33 and now everything is good.

achumakov

achumakov

2006-09-23 16:32

reporter   ~0013443

Last edited: 2006-09-23 16:32

Test if this problem still exists in v1.1a:
Просто тестАБВЭЮЯ

Martin Fuchs

Martin Fuchs

2007-09-30 09:13

reporter   ~0015773

The test text in achumakov's note is displayed correctly, so the problem seems to be resolved.

siebrand

siebrand

2008-09-10 18:11

developer   ~0019375

RESOLVED per comment #0015773