SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict jasongr's Avatar
    Join Date
    Jul 2004
    Location
    usa
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with string encoding

    Hi people

    I have a string with the following content:
    PHP Code:
    $buffer "árboles genealógicos gratis"
    Which is the sentence árboles genealógicos gratis encoded (The statement means Genealogy family trees in Spanish)
    I am looking for a PHP function that will conver the content of the buffer above to:
    PHP Code:
    $buffer "árboles genealógicos gratis"
    This is just an example. My input buffer may contain other encoded characters that will also need to be decoded.

    any suggestions?

    Jason

  2. #2
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Your both strings are identical

    Perhaps you're looking for htmlentities
    Saul

  3. #3
    SitePoint Wizard stereofrog's Avatar
    Join Date
    Apr 2004
    Location
    germany
    Posts
    4,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •