Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287

    RSS Reader, Content Type problem

    Hey all, i'm busy with a little RSS Reader, but there is a problem.

    I generate an HTML page from the RSS feed, and when there is a ', " or ` in text, it shows it as �. i tried the meta tags for content type and charset, UTF-8 and i tried ISO, but i can't get the right result.

    Thanks, CB

    Code:
    <html xmlns='http://www.w3.org/1999/xhtml'>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <head>
    <meta h.t.t.p.-.e.q.u.i.v='Content-Type' content='text/html; charset=UTF-8' />
    <meta name="generator" content="Imagine RSS Reader 2.0" />
    
    
    This is the first part of the HTML file
    h.t.t.p.-.e.q.u.i.v = the same without dots:P
    Attached Images
    Last edited by Imagine Programming; 10-22-2008 at 07:51 AM.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    A couple of things:
    1. DOCTYPE should be the first line of the document. It comes before the <html> tag;
    2. Get rid of the charset=UTF-8 in the content-type directive or you will have to replace the high ASCII with the proper HTML codes... which is &acute; in this particular case.
    It works correctly in my example.

    Ulrich
    Attached Images

  3. #3
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    hey upeters, thanks for the reply.

    When i place the DOCTYPE on top of the document, it ignores my css style for some reason (only the font size) but i'll try to take an example of your great reader thanks!
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

Similar Threads

  1. A simple RSS reader for the forums
    By Ulrich in forum AutoPlay Media Studio 7.5 Examples
    Replies: 3
    Last Post: 08-07-2010, 10:51 PM
  2. Dependency Module: Adobe Reader 9
    By venky in forum MSI Factory 2.0 Examples & Modules
    Replies: 0
    Last Post: 09-04-2008, 05:40 PM
  3. problem with drive type USB - example Roboblue
    By Waterloophai in forum AutoPlay Media Studio 7.5
    Replies: 0
    Last Post: 08-29-2008, 02:54 PM
  4. RSS News Reader Project *needs improvement*
    By FoxLeader in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 04-13-2008, 12:24 PM
  5. Problem viewing content in a folder
    By 2frogs in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 11-29-2006, 02:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts