Dealing with special characters through browser

Posted on 2006-03-19
Last Modified: 2011-10-03
In regards to characters such as ” ; © ; etc... If these type of characters are loaded in a text area form field using FireFox, it shows up as something else like ”
Question by:eroute
    LVL 84

    Expert Comment

    How are they loaded, where are they showing up, and what character set is enabled?
    LVL 19

    Accepted Solution

    You could try using the entity encodings. For example

    © copyright, use either of these:  © ©
    ” right double quotation mark, use either of these: ” ”
    LVL 51

    Assisted Solution

    what has this to do with perl?

    Anyway, according "Firefox" I guess that you've problems "seeing" the correct characters in your browser
    The problem is as said in previous comments:
      1. you need to use HTML entities for anything else than 7-bit ASCII and some 7-bit ASCII characters too
      2. you have to specify the character set, and character encoding in the HTML header (DOCTYPE and META tags)
      3. you have to ensure that your browser can load the required character set

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
    On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now