Results 1 to 8 of 8

Thread: html entity

  1. #1
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default html entity

    1) Script Title:

    2) Script URL (on DD):
    Script http://www.dynamicdrive.com/dynamici...nate/index.htm
    Thread Problem Occured http://dynamicdrive.com/forums/showthread.php?t=24822


    3) Describe problem:
    << >> should be converted to their character codes
    &laquo; &raquo;

    housed in http://www.dynamicdrive.com/dynamici...xpagination.js

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    &gt; &lt; ?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    that is for just 1 arrow, the script script uses the double arrow.
    but I think that just 1 arrow would be better, because the double arrow suggests movement of more then 1 either way.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Oh, I get it. You just posted two single arrows, but were referring to the extended character set item. Makes sense.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    How is this a bug? Sounds like an update, or just personal preference to me.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    A bad one. These are modern times, we have all sorts of standards like Unicode now. This "double arrow" (chevron or guillemet) is a quotation mark in several languages -- it's part of more than one natural language. Imagine if you had to write your native language as
    Code:
    &hchar;&echar;&lchar;&lchar;&ochar;&comma;&space;&Bchar;&ochar;&bchar;&fullstop;
    This is one original prejudice of the Web that we shouldn't have to deal with any more.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    I brought this up because there was a problem with someone's code. it wasnt showing the entities correctly.

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Still, it's not a problem with the script, it's a problem with mismatched encodings on the user's part.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •