SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2005
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html entities vs iso8859-5

    Hello, I'm looking for smart function that converts russian characters into their entities. htmlentities() does not work as it should...

  2. #2
    SitePoint Addict ruchit's Avatar
    Join Date
    Sep 2005
    Location
    miDDle oF NoWHere
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is this what you want
    PHP Code:
    htmlentities($strENT_COMPAT"ISO8859-15");//western european
    //OR
    htmlentities($strENT_COMPAT"koi8-ru"); //Russian supported PHP 4.3.2 onwards 
    work together - make world a better place
    Outsource to India
    Web Design India
    Affordable Webhosting


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
  •