Non-SGML Characters and databases

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59968
interpreted = N
texte = Hi, I have come across a problem when trying to get a site to validate as = XHTML 1.0 Strict with non-SGML characters. I use the following to set = the charset on all my admin and display pages:- [setmimeheader name=3DContent-Type&value=3Dtext/html; = charset=3Diso-8859-1] This ensures that all non-standard characters are stored and displayed = in a consistent format in the databases. When passed through the W3C = validator however characters such as the euro symbol and curly quotes = are resulting in 'non-SGML character' errors. =20 Does anyone know whether I can store the text using a different encoding = or does anyone have a method to translate these characters to entities = on the fly as the page is displayed - I have tried convertchars - but it = doesn't work - could it be that I need to change the encoding of the = convertchars database ? Thnaks - Tom ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Non-SGML Characters and databases ( John Peacock 2004)
  2. Non-SGML Characters and databases ( "Tom Duke" 2004)
Hi, I have come across a problem when trying to get a site to validate as = XHTML 1.0 Strict with non-SGML characters. I use the following to set = the charset on all my admin and display pages:- [setmimeheader name=3DContent-Type&value=3Dtext/html; = charset=3Diso-8859-1] This ensures that all non-standard characters are stored and displayed = in a consistent format in the databases. When passed through the W3C = validator however characters such as the euro symbol and curly quotes = are resulting in 'non-SGML character' errors. =20 Does anyone know whether I can store the text using a different encoding = or does anyone have a method to translate these characters to entities = on the fly as the page is displayed - I have tried convertchars - but it = doesn't work - could it be that I need to change the encoding of the = convertchars database ? Thnaks - Tom ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Tom Duke"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

QuitFeedback & DBNotOpened errors (1997) WebCatalog Technical Reference (1997) More DateMath problems (1997) textarea question (1998) RequiredFields template (1997) [NT] ie 4.0 required (1997) Navigator Parsing (1997) Date Formats (1997) self maintaining databases? (1998) Field names beginning with Reg.. (2002) cookies and [returnraw] (1997) setheader and retrieve it immediatly (2001) WebCat Hosting - Pricing Question (2002) Date Formats (1997) 2 databases (1997) best way to check against old cart #s (1999) No. of items in shopping cart (2000) Help name our technology! (1997) Where is f2? (1997) Webten + Webcat running smooth (1998)