Re: CRITICALLY IMPORTANT: fix your package.xml or PEAR will not be able to install it
| From: | Daniel Convissor | Date: | Sat, 26 Feb 2005 17:11:10 +0000 |
| Subject: | Re: CRITICALLY IMPORTANT: fix your package.xml or PEAR will not be able to install it | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2543@lists.php.net to get a copy of this message | ||
On Sat, Feb 26, 2005 at 03:23:58PM +0000, Helgi ?ormar wrote:
> On Fri, 2005-02-25 at 22:47, Greg Beaver wrote:
> >
> > upload a new one with the special characters either entitied or
> > removed altogether.
>
> Is there no wait past this ? :(
Yes there is and it's simple. Check out the snippet of Greg's post that I
left up there. It talks about using "entities" for the characters outside
of the usable character set. You're familliar with entities, right? So
find out the Dec, Hex or Unicode (I think Unicode is okay for this
purpose) number used by the characters you need and put them in entities.
Dec format is is   Hex format is   Unicode is  To find
out the numbers, perhaps your text editor tells you the character number
when you're over it or next to it, or you can use PHP's ord() function, or
you can use the tables at http://www.lookuptables.com/
which are linked to
by PHP's ord() documentation.
Similarly, Googling for "xml character entities" turns up
http://www.oasis-open.org/docbook/xmlcharent/0.1/index.shtml
which provides a listing of loads of entities. For example,
http://www.oasis-open.org/docbook/xmlcharent/0.1/iso-lat1.ent
shows one can get an accented a by doing: á or á
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409