Quotation marks display as &quot in web pages, I'm using Unicode UTF-8 character encoding.

On many web pages, where a quotation mark character should appear, instead the page displays the text &quot. I believe this happens with other punctuation characters as well such as apostrophes although the text displayed in these other cases is different, of course. I'm guessing this is a problem with character encoding. I'm currently set to Unicode (UTF-8) encoding. Have tried several others without success.

Here's a link where the problem occurs. Note the second line of the main body of text.
http://www.sierratradingpost.com/lp2/snowshoes.html
BTW, I never use IE, but I checked this site in IE and it shows the same problem, so maybe it is the page encoding after all rather than what I thought.
In any case, my thanks for your help and would appreciate any solution you can suggest.

Similar Messages

  • Quotation Marks display as boxes

    I need to figure out why in some instance quotation marks
    display as boxes.
    This may also be a ColdFusion question but I'll start here:
    I have a site that displays articles from a coldfusion
    database. The articles display fine. There is no css or font tag
    applied to the text (so basically displaying default fonts).
    Now, I gave the page a new name and surrounded the code with
    formatting css. All quotation marks display as square box. I
    thought it may depend on the font that I chose (Ariel). So I
    removed the css style sheet for a moment but the quotation marks
    still show as box. Since I have the same code to pull the data,
    same browser, same computer, this is puzzling.
    Any idea what is causing this?
    Thanks.

    Are the quotes 'straight' quotes, or 'curly' quotes? Although
    both straight
    and curly quotes are special characters (" and
    “ respectively) a
    ' " ' (i.e. straight quote) will usually appear as a straight
    quote when put
    directly in the code, but I have never had curly quotes
    appear correctly. I
    guess this is because quotes are used within attributes and
    so on in regular
    HTML.
    If this isn't your problem then someone else will answer
    better than I
    have...
    Regards,
    Bruce
    "weblinkstudio" <[email protected]> wrote in
    message
    news:gnv4mg$82f$[email protected]..
    >I need to figure out why in some instance quotation marks
    display as boxes.
    > This may also be a ColdFusion question but I'll start
    here:
    >
    > I have a site that displays articles from a coldfusion
    database. The
    > articles
    > display fine. There is no css or font tag applied to the
    text (so
    > basically
    > displaying default fonts).
    >
    > Now, I gave the page a new name and surrounded the code
    with formatting
    > css.
    > All quotation marks display as square box. I thought it
    may depend on the
    > font
    > that I chose (Ariel). So I removed the css style sheet
    for a moment but
    > the
    > quotation marks still show as box. Since I have the same
    code to pull the
    > data,
    > same browser, same computer, this is puzzling.
    > Any idea what is causing this?
    > Thanks.
    >

  • Help in retrieveing Blob from Oracle db and display it on a web page

    I am using Sun Studio creator2 and this is what I want to achieve:
    When I click on "Load" button, the image is displayed on the web page(the application is a web application)
    I have dropped the "image" object from the pallette
    Having the database image displayed in the image field, when I enter the image ?Id? and click on the ?Load? button.
    Here is my piece of code:
    public String loadButton_action() {
    HttpServletRequest request = null;
    HttpServletResponse response = null;
    String connectionURL = "jdbc:oracle:thin:@//localhost:1521/cdecentre1";;
    /*declare a resultSet that works as a table resulted by execute a specified
    sql query. */
    ResultSet rs = null;
    // Declare statement.
    PreparedStatement psmnt = null;
    // declare InputStream object to store binary stream of given image.
    InputStream sImage;
    Connection connection = null;
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String dbName = "cdecentre1";
    String userName = "christian";
    String password = "cc";
    String theid = (String)idField.getValue(); //reading the image id
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    connection = DriverManager.getConnection(connectionURL, userName, password);
    /* prepareStatement() is used for create statement object that is
    used for sending sql statements to the specified database. */
    psmnt = connection.prepareStatement("SELECT image FROM CHRISTIAN.PICTURES WHERE id = ?");
    psmnt.setString(1, theid);
    rs = psmnt.executeQuery();
    if(rs.next()) {
    byte[] bytearray = new byte[1048576];
    int size=0;
    sImage = rs.getBinaryStream(1);
    //response.reset();
    response.setContentType("image/jpeg");
    while((size=sImage.read(bytearray))!= -1 ){
    response.getOutputStream().write(bytearray,0,size);
    rs.close();
    psmnt.close();
    connection.close(); } }
    } catch(Exception ex){
    System.out.println("error :"+ex);
    return null; }
    At the moment, when I click on the ?Load? button, the image is not present in the image field.
    I am only obtaining a message inside the message component.
    What should I do to have the image displayed in on the web page?
    Your help will be highly appreciated.

    A comprehensive dissertation from Javaworld: http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
    Published 05/05/2000, ergo Java 1.0/1 era... still a valid explanation of the problem and the fundamental solution, but take the code (esp ImageIO) from here
    http://blog.codebeach.com/2008/02/creating-images-in-java-servlet.html
       1. package com.codebeach.servlet; 
       2.  
       3. import java.io.*; 
       4. import javax.servlet.*; 
       5. import javax.servlet.http.*; 
       6. import java.awt.*; 
       7. import java.awt.image.*; 
       8. import javax.imageio.*; 
       9.  
      10. public class ImageServlet extends HttpServlet 
      11. { 
      12.     public void doGet(HttpServletRequest req, HttpServletResponse res) 
      13.     { 
      14.         //Set the mime type of the image 
      15.         res.setContentType("image/jpeg"); 
      16.  
      17.         try 
      18.         { 
      19.             Create an image 200 x 200 
      20.             BufferedImage bufferedImage = new BufferedImage(200, 200, BufferedImage.TYPE_INT_RGB); 
      21.  
      22.             //Draw an oval 
      23.             Graphics g = bufferedImage.getGraphics(); 
      24.             g.setColor(Color.blue); 
      25.             g.fillOval(0, 0, 199,199); 
      26.  
      27.             Free graphic resources 
      28.             g.dispose(); 
      29.  
      30.             //Write the image as a jpg 
      31.             ImageIO.write(bufferedImage, "jpg", res.getOutputStream()); 
                        ////////////// NICE !!!! //////////////
      32.         } 
      33.         catch (IOException ioe) 
      34.         { 
      35.            e.printStackTrace();
      36.         } 
      37.     } 
      38. }  Edited by: corlettk on 19/01/2009 23:22 ~~ {color:#FF0000}Never{color} eat an exception!

  • Hi Thanks for 4.0. It runs much faster on my Mac, however, it no longer works to zoom in all of my web pages. I use to be able to use my finger pad to increase the size of all of all pages. Thanks again.

    Hi Thanks for 4.0. It runs much faster on my Mac, however, it no longer works to zoom in all of my web pages. I use to be able to use my finger pad to increase the size of all of all pages.
    Thanks again.
    PS Are you working on a version for the iPad and iPhone with Add Blocker? That would be great!

    Here are some zoom add-ons which might provide a workaround:
    [https://addons.mozilla.org/en-US/firefox/search/?q=image+zoom&cat=all&x=0&y=0 Image Zoom]
    As regards your question about iPad and iPhone, you'd be better off posting that question here: [https://forums.mozilla.org/addons/ Mozilla Add-ons Forum]
    P.S. ''Apologies for not responding earlier''.

  • Error converting web page to PDF using Acrobat 8 IE 9 on Vista

    I am getting the following errow when I try converting web page to PDF using Acrobat 8 on IE 9 on Vista.  This worked previously but it appears that a recent update to Acrobat caused issues with this functionality.  This happened once before and after some troubleshooting the technician wasable to get the functionality working again.  The Adobe printer shows up with "Error" however I can still create PDFs from outlook.
    Error Has Occurred
    Line:11
    Char:3
    Error: Permission Denied
    Code: 0
    URL:res//C:\Program Files\Adobe\Acrobat 8.0\Acrobat\AcroIEFavClient.dll/AcroIECapture.html

    Is the plugig the same as an add-on because all of my Acrobat Add-ons are active?
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.25 s
    Name                Adobe PDF Reader Link Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.01 s
    Navigation time     0.00 s
    Name                Adobe PDF Conversion Toolbar Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.06 s
    Navigation time     0.00 s
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.00 s

  • Type tool quotation marks display like greater-than symbols

    I'm having trouble with getting quotation marks to display correctly, they look like 2 stacked >> symbols.  They change slightly depending on what font I'm using, but they all ride at the base of the text.  I cannot acheive normal looking curly or staight quotes at all.  I have tried switching smart quotes on and off in the preferences, restarting, etc.  I've noticed this problem in the past, but I thought it was the font I was using.  The same thing happens with Times New Roman.  I'm running an up to date version of PSextended CS5, 64bit on win 7 64.  Any help would be greatly appreciated!

    Not sure if this is where you looked, but check the overall Windows settings as follows: 
    Click Start and type Language in the search box.  When Region and Language comes up, click it. 
    Look through all the tabs to ensure everything's set as expected.
    Outside of finding something unexpected in there, it's never a bad idea to try resetting the Character tool, or even the Photoshop overall preferences.  To reset the Type Tool, select the T tool, then right-click in the T tool icon in the options area:
    -Noel

  • How do I get a 'insert - hyperlink - file' to display in a new web page?

    When I insert the link to a downloadable file, that's fine.
    But I'm losing my eyeballs because iWeb uses the same webpage to open my downloadable file.
    The option to check, 'open in new web page' is not appearing.

    Welcome to the Apple Discussions. You need to first upload the file to your server and use the URL to the file at that location as the link to external page option of the Inspector/Link/Hyperlink pane. If the browser supports displaying the file type it will open in a new window.
    Click to view full size
    OT

  • [CS3][JS] find/change quotation marks to typographer quotes

    my document contains a lot of quotation marks but they are not typographic (the opening one and the closing one are similar (") i want them to be typographic. I tried this script and it doesn't work.
    var myDoc = app.activeDocument;
    app.findGlyphPreferences = NothingEnum.nothing;
    app.changeGlyphPreferences = NothingEnum.nothing;
    app.findGlyphPreferences.appliedFont = app.fonts.item("Times New Roman  Regular");
    app.findGlyphPreferences.glyphID = 5;
    var myFoundItems = myDoc.findGlyph();
    app.changeGlyphPreferences.appliedFont = app.fonts.item("Times New Roman  Regular");
    var r=0;
    for(i=0;i<myFoundItems.length;i++){
      app.changeGlyphPreferences.glyphID = 179;
        myFoundItems(r).changeGlyph();
    app.changeGlyphPreferences.glyphID = 180;
        myFoundItems(r+1).changeGlyph();
        r+=2;

    Hi Peter,
    your solution is pretty good while the pairs of quotes are complete and you only use one sort of typographer quotes.
    But what if once the final quote is missing?
    Or if you want to use different language sensitive quotes for a document with multilingual text?
    Another approach is to take use of the execution of typographer quotes of InDesign itself.
    First you will have to activate typographer quotes:
    app.activeDocument.textPreferences.typographersQuotes = true;
    If you now change " with " you will get ".
    That's not what you have been looking for. ;-)
    You first have to make all non-typographical quotes to one specific typographical quote (right or wrong) or a placeholder. And than you have to change the specific typographical quotes to the non-typographical quotes (sic!). After that you will find your language-sensitive quotes.
    Here is an example.
    var myDoc = app.activeDocument;
    var myRange = (app.selection.length == 1 )
    ? app.selection[0]
    : myDoc;
    myDoc.textPreferences.typographersQuotes = true;
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.appliedFont = myDoc.paragraphStyles[1].appliedFont.fullName;
    theChangeGrep ( '\[\\x{0027}\\x{2019}\\x{201A}\\x{2039}\\x{203A}\]', '\\x{2018}' );
    theChangeGrep ( '\[\\x{0022}\\x{201D}\\x{201E}\\x{00AB}\\x{00BB}\]', '\\x{201C}' );
    theChangeGrep ( '\\x{2018}', '\\x{0027}' );
    theChangeGrep ( '\\x{201C}', '\\x{0022}' );
    function theChangeGrep ( f, c)
    app.findGrepPreferences.findWhat = f;
    app.changeGrepPreferences.changeTo = c;
    myRange.changeGrep();
    It takes some more search executions, that's true.
    But it's language sensitive! ;-)
    After all, apostrophes () will disturb the changing also in this approach, because they are not recognized as apostrophes but as single typographical quotes.
    To prevent from this I am still looking for a solution.
    Martin

  • Display FLV file on web page - what code is needed

    In Premiere Elements 7 I used the share option to make a .FLV file to place on a web page. What code is needed to display this file? What other steps are needed to have the file play on a web page? I get the ides that I need to embed a played on my web page, how do I do that? I find no help in the premiere elements help file.
    thanks
    Al

    Maybe you should ask in the Premiere Elements forum http://forums.adobe.com/community/premiere/premiere_elements ?

  • Display picture on another web page

    Hi,
    I'm a NEWBIE to dreamweaver...
    I have a web page that contains several pictures (small). When the client clicks on a small picture I want to display that particular picture (bigger) on another page. How would I go abouts doing this? Do I have to pass the filename, of the picture, to the other page? If so, what is the best way to do this.
    I currently use HTML and CSS to code the web site.
    Please Help.
    Thanks in advance,
    Marc

    I have a web page that contains several pictures (small). When the client clicks on a small picture I want to display that particular picture (bigger) on another page.
    Linking to an image as you have suggested doesn't link to a page as the OP described. An image is not a page unless it's contained in a page. If it's just an image then it's just that: just an image. It may open in a browser window or tab, but a browser window or tab is not necessarily a page. Link to a page by placing the image in the page in similar manner as how the thumbnails were added to a page then link thumbnail to the lardger image page by using anchor tag.
    <a href="you_image_page.html"><img src="th_thumb_image.jpg" ...
    best,
    Shocker

  • How to display Japanese Text in web page?

    Hi,
    I am trying to get this i18n stuff right for a few days but don't seem to find all answers.
    I am using Sybase databse to store Japanese characters. A perl script inserts the chars in table. Then I use a test JSP program to display the chars.
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page language="java" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.sql.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="javax.naming.InitialContext" %>
    <%@ page import="java.text.SimpleDateFormat" %>
    <html>
    <head><title>testing for utf string</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
    <%
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    try{
            InitialContext context = new InitialContext();
            DataSource ds = (DataSource) context.lookup(System.getProperty("TESTDS"));
            conn = ds.getConnection();
            stmt = conn.createStatement();
            rs = stmt.executeQuery("select comment from TestTable");
            while(rs.next()){
                    out.println("<br>");
                    out.println("the comment is : <Textarea Cols=\"90\" Rows=\"5\" Name=\"Comment\">"+rs.getString(1)+"</Textarea>");
                    out.println("<br>");
                    out.println("the comment is "+rs.getString(1));
    }catch(Exception e){
            e.printStackTrace();
    }finally{
            try{
            if(rs != null) {rs.close();}
            if(stmt != null) {stmt.close();}
            if(conn != null) {conn.close();}
            }catch(Exception e){}
    %>
    </body>
    </html>But the page does not display correctly. If I change the charset as JIS, then it seems to work. But my web page will be having chars from multiple language and I think utf-8 is the right charset for that.
    Any pointers?
    Thanks

    What JSP/Servlet server are you using and what version?
    Try this just for debugging:
    Remove the rs.getString(1) from the out.println() call. Just assign the returned value to a local String variable and display the variable using (I hope I'm remembering correctly) this:
    <%= myVariable %>
    I'm curious whether directly inserting the text into the page is somehow different from sending it via out.println.
    Regards,
    John O'Conner

  • Safari Not Displaying All Images On Web Page

    When I look at a web page in Safari on my iPhone 3GS, not all of the images on the page load. Instead, I see little blue squares with question marks in them. However, if I look at the same web page on an iPhone 4, the images DO load. Why is this happening?
    Here are two screenshots to prove my point:
    iPhone 3GS
    iPhone 4

    Settings>Safari>Javascript On maybe?
    May find an answer here as well:
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Display problems with allowing web pages to use their own fonts, both on and off.

    I refer to the "Allow pages to choose their own fonts, instead of my selections above" option in the Content > Advanced tab of the Options menu.
    When I have this option unchecked, allowing my font choice to override the default non-image generated text for web pages, it seems that many icons and buttons on numerous sites are replaced by some sort of hex code malfunction. They appear as small boxes with four characters inside. I'm sure someone knows the official term for what these are and why they occur.
    When I have the option checked, however, any non-image generated text on numerous websites appears as an ugly Stencil font that I simply cannot find the origin of. It should not be and clearly isn't the default font for all of these different sites. By "non-image generated text", I mean any text that is not incorporated into the design of the page.
    This issue has persisted through several full re-installs. Any insight into a solution for one or both sides of this problem would be quite appreciated. Thanks for reading.

    You would have to remove (uninstall) or reinstall the Georgia font if it is currently corrupted.
    You can use the System File Checker to check for missing and corrupted font files.
    It needs to be run from an Elevated Command Prompt.
    Open a cmd.exe window as Administrator:
    Start, click Programs, click Accessories
    Right-click Command Prompt, and choose "Run as administrator"
    Click past the UAC Screen
    After the cmd.exe prompt, type: sfc.exe /scannow and press Enter
    * http://windowsforum.com/threads/system-file-checker-a-great-windows-fix-tool.19250/

  • Web pages display OK, but print with garbage characters. I think it's character encoding, but don't know WHICH I should use. Have tried all Western and UTF options. Firefox 3.6.12

    I used to only have troubles with headers & footers printing out as garbage characters. I tried changing Character Encoding, now entire pages have garbage characters, even though pages view ok when browsing.

    If the pages look OK when you are browsing then it is not a problem with the encoding.<br />
    It can be a problem with the font that is used and you can try to disable website fonts and posibly try a few different default fonts to see if that helps.
    Tools > Options > Content : Fonts & Colors: Advanced (Allow pages to choose their own fonts, instead of my selections above)

  • Poor fonts in web pages, cannot change using Tools/Options

    Downloaded firefox 3.6 using windows xp. Web pages show very poor fonts. Unable to change fonts using the Tools/Options.

    You can enable ClearType system wide for all programs to make other programs like Firefox use it.
    * http://support.microsoft.com/kb/306527 - HOW TO: Use ClearType to Enhance Screen Fonts in Windows XP
    Control Panel > Display > Appearance > Effects: "Use the following method to smooth edges of screen fonts"

Maybe you are looking for

  • Opening an Excel document using I_OI_DOCUMENT_PROXY

    Hi, I'm currently opening an Excel document using the OPEN_DOCUMENT method of the I_OI_DOCUMENT_PROXY interface. A macro is then run to populate specified columns in the spreadsheet and then proceeds with printing the document. Within Excel, we've se

  • File Path and Name

    Hi everyone, I am scheduling reports in Crystal Reports Server.  My reports contain the "Special Field" File Path and Name.  However, when the report is sent out via CRS, it prints a different location of where the report actually resides.  In CRS, h

  • Howto delete Resource Provider Name for a database persistence provider?

    Hi, I have performed the steps successfully given here: http://mike-lehmann.blogspot.com/2006/09/simple-mdb-with-oracle-database-jms.html Now, I need to do a clean up for this complete task. I have been able to do so completely sans one problem that

  • LR is autosorting stacked pics

    Hi, I work with LR 1.1 and am discovering all the possibilities. Currently I'm re organising the 20,000 pics in my library. I use groups of stacked pics as a part of this personal project, but the software behaves a bit weird: When I stack a group of

  • HP Officejet 6700 Premium All-in-One

    I am having a problem with my scanner as it will not find the PC Desktop. I have set up the network correctly and although the printer works vioa the network, the scanmner has stopped for some unknown reason. I am using windows 8 although I am unable