Have anybody do this localization?
I've found a error with title printing when using win-1251 coding. It's looks like "bla-bla-trala-la".
It's so because of this (ewiki.php:line 789):
$title = htmlentities($title);
So, maybe it's not a bug, but my mistake? i du no :)
problem was in htmlentities() params.
This struct we have in manual:
string htmlentities ( string string [, int quote_style [, string charset]] )
So, the third param should be 'cp1251'.
So, i created new funct, named htmlentities_1251($txt), and replaced it in whole program by mass replace.
P.S. problem was not only with titles, but with whole source code of pages (as i noticed later) :)
Well, in general things are moving to utf-8 for the defaults. Maybe you can use that instead of cp1251? Also the fix is not a good one for general use. Perhaps you can add at the start of your php and before you call ewiki sometthing like.
or better yet do/use 'utf-8'
If that works you don't have go keep doing the find and replace when you do updates.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.