Re: suggested patch for ext/standard/html.c for correct htmlentity'ing of cyrillic characters
| From: | Wez Furlong | Date: | Fri, 21 Mar 2003 10:51:47 +0000 |
| Subject: | Re: suggested patch for ext/standard/html.c for correct htmlentity'ing of cyrillic characters | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129@lists.php.net to get a copy of this message | ||
+1 from me (I will apply it to PHP5).
This looks like a suitable candidate for 4.3.2 also; no new code is
introduced by this patch, merely a lookup table, and adding more
encodings can be regarded as a fix.
Opinions?
--Wez.
On Fri, 21 Mar 2003, Antony Dovgal wrote:
> Hello, all.
>
> Attached patch provides cyrillic character sets support to
> htmlentities(), useful for those who wants to see correct cyrillic
> letters after using this function (at this moment htmlentities()
> successfully breaks cyrillic characters).
> KOI8-R, Windows-1251 & CP866 encodings are supported.
>
> I've tested this patch with PHP-CVS & PHP 4.3.2RC1 - it seems to be
> working correctly.
> Someone who has enough karma - please, take a look at it and apply it
> if it's ok.
>
>
> --
> Wbr,
> Antony Dovgal aka tony2001 mailto:tony2001@phpclub.net
> http://phpclub.net
> ---
> Stand for something or you will fall for nothing.
>