Hi,
thanks for your answer but it's not so easy. PhpWiki
uses htmlspecialchars() to masq strings, and PhpWiki
passes a third argument to it containing the charset
name. htmlspecialchars() does not know about latin2,
it gives warnings.
lib/XmlElement.php...: 502: Warning: htmlspecialchars():
charset `iso-8859-2' not supported, assuming iso-8859-1
lib/XmlElement.php...: 170: Warning: htmlspecialchars():
charset `iso-8859-2' not supported, assuming iso-8859-1
These two lines (502 and 170) are giving the message
but lots of times in a page request. What's wrong? May
I upgrade or reconfigure php to work, or the
htmlspecialchars() function needs a workaround in
PhpWiki?
[phpwiki-1.3.12p3]
[php-4.4.2-1.1]
--
mm.
Reini Urban <rurban@xxxxxxxx> írta:
> [redirected to the mailing list, I hate the tracker]
>
> SourceForge.net schrieb:
> > Read and respond to this message at:
> > https://sourceforge.net/forum/message.php?msg_id=3865587
> > By: mmaci
> >
> > Hi,
> >
> > I'm interested in making a hungarian site driven by
PhpWiki. But there's a
> > probleme: our national charset contains two additional
characters to iso-8859-1,
> > "o and "u (the long versions of ö and ü), that is only
found in iso-8859-2.
> > These chars are frequent in hungarian, and it's
impossible to leave them or
> > interchange them with latin1 chars. It would real ugly.
The other thing is
> > that I have to use these characters in WikiNames, but
current version of PhpWiki
> > does not support it. XxxóáYyy is ready (latin1 chars are
usable), but if I
> > change óá to "o, it fails, and square brackets does not
help. The [] creates
> > a link, but "o and "u is viewd as & #337 ; and & #369 ;
. Could You please
> > help me how to solve the probleme? Is it a big work to
add latin2 support into
> > PhpWiki?
>
> Normally it should work out of the box when you
> define('CHARSET', 'iso-8859-2');
> (or define it in the config.ini)
> and your php supports it (via iconv) in the pcre functions.
> mbstring should not be needed afaik. latin-2 is single-byte.
>
> > I promise I'll gift the project with a hu.po file if
iso-8859-2 will be ok...
> > Now there's nothing to it.
>
> Personally I'd rather prefer a cool layout in a new
template, but we
> accept hungarian also :)
> --
> Reini Urban
> http://phpwiki.org/ http://murbreak.at/
> http://helsinki.at/ http://spacemovie.mur.at/
>
______________________________________________
Dobd fel a napod, dobd fel a videóid! http://videa.hu
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|