Aigars Geruckis's blog
otrdiena, 2011. gada 1. februāris
Q&A: How do I urlencode a unicode string in php?
Question by MonsterEnergy: How do I urlencode a unicode string in php?
For instance, turn "привет" into "%EF%F0%E8%E2%E5%F2"?
Best answer:
Answer by ajrealYou can try:
1. url_encode
2. unicode_encode (CVS only)
Know better? Leave
Read more...
Nav komentāru:
Ierakstīt komentāru
Jaunāka ziņa
Vecāka ziņa
Sākumlapa
Abonēt:
Ziņas komentāri (Atom)
Nav komentāru:
Ierakstīt komentāru