SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    bahrain
    Posts
    553
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up error using iconv() function

    hi
    i m trying to convert one character encoding from other and only got this function. iconv()

    now i m only trying to print this and getting this error

    "Fatal error: Call to undefined function: iconv() in c:\program files\easyphp1-7\www\unicode.php on line 2"

    i m using following method

    PHP Code:
    <?php
    echo iconv("ISO-8859-1""UTF-8""This is a test.");
    ?>
    can anybody plz tell me how to convert Arabic-1256 to unicode (UTF-8).i will be really thankful.
    its urgent plzzz.....
    regards
    phphelp

  2. #2
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved to a more appropriate forum. See Where should I post my thread? for details

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  3. #3
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    bahrain
    Posts
    553
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my dear seaf
    i was having a error and according to programming team if u have soem error in php u can post ur thread in php forum and if u think that its not right then can u plz let me know whr should i post it to have a good reply and response?????

    thanx
    its urgent plzzz.....
    regards
    phphelp

  4. #4
    SitePoint Addict
    Join Date
    Oct 2004
    Location
    Southwest US
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The error you are getting means that there is no such function iconv(), which probably means you do not have the library installed which defines the function for php. Try looking into installing the: libiconv library.

    More info can be found: iconv Functions

    Hope this helps,
    Itshim

  5. #5
    SitePoint Addict
    Join Date
    Oct 2004
    Location
    Southwest US
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    btw - you originally posted this message in the Advanced PHP forum, which is used more for object oriented design, design patterns, framework development....

    Itshim

  6. #6
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by phphelp
    my dear seaf
    i was having a error and according to programming team if u have soem error in php u can post ur thread in php forum ...
    And that's where it is

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature


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
  •