RE: 1 cset was pushed to core/extraget: xarMod.php:First stab at modifyin xarM...

"Michael Cortez" <mcortez-8sipqmjc3J32fBVCVOL8/[email protected]>
Newsgroups gmane.comp.cms.xaraya.bk-notices
Message-ID <[email protected]>
>>        html/includes/xarMod.php
>>          1.306 05/03/02 00:35:41 [email protected] +93 -90
>>          First stab at modifyin xarMod.php
>>          I'm sure there is some array trickery we can use to 
>>  make this a little more efficient.
>>      


>From the code:

+    // TODO: tackle it the other way around, i.e. have rules for
+    // what to encode, rather than undoing some ecoded characters.

I would not recommend doing this.

Unless you really, really, want to go through and add special rules for
encoding the vast majority of unicode.  Remember, it doesn't just encode
the various illegal punctuation, but it also encodes the non US-ANSI
characters that could end up in a URL as well (think Titles as URLs on
international sites.)

--
Mike C.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.