SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot asrasrasr's Avatar
    Join Date
    Apr 2009
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with HTML Special Character in Display

    Hello Friends,

    I am facing problen to display html special character using php from mysql.

    In my database there are company name like

    AGL – Advanced Glory Logistics Group Ltd

    337 M€

    AeroRepública

    But when i dispaly thse name in php page

    This displayed like

    AGL ? Advanced Glory Logistics Group Ltd

    337 M?

    AeroRep?blica

    But when i try to dispaly company name using htmlentities they display lke

    AGL ? Advanced Glory Logistics Group Ltd

    337 M?

    AeroRepública

    what is the problem?

  2. #2
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    See the comment on your duplicate post here.

    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.

  3. #3
    SitePoint Member
    Join Date
    Apr 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HI,
    yes i see the comment.......

  4. #4
    SitePoint Zealot asrasrasr's Avatar
    Join Date
    Apr 2009
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my data base set UTF8 character encoding.

    Now what is problem.

    But AeroRepública print correctly but 337 M€ not print correctly why ?


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
  •