[thelist] php and unicode

Michael Efford michael at michaelefford.com.au
Thu Sep 12 08:41:01 CDT 2002


----- Original Message -----
From: "Nick Martini" <nick at devaluate.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, September 12, 2002 10:08 AM
Subject: [thelist] php and unicode


> i found a nice javascript function that encodes email addresses at
> http://www.gazingus.org/js/?id=106 (i most likely picked it up off this
> list at some point).
>
> anyway, id like to put this to use on my site, but cant figure out how
> to make php translate ascii characters into strings like
> "\u006d\u0061\u0069\u006c\u0074\u006f\u003a"
>
> does anyone know of a function that does this, or of an easy way to
> encode characters?

someones already done it for you...

http://www.hivelogic.com/safeaddress/

hth,

michael.

_____________________________
m i c h a e l  e f f o r d
f r e e l a n c e  w e b  d e s i g n e r
michael at michaelefford.com.au
http://www.michaelefford.com.au




More information about the thelist mailing list