Click to See Complete Forum and Search --> : Codepage in stylesheet
Lars_V_J
August 27th, 2001, 06:49 AM
How do I add a code page (ISO-something) to a style sheet? I have a project with LOTS of files in it, and they all use the same .css. So, I would like to have my codepage line added in that, so I only have to change in one place.
Best regards
Lars VJ
jimeh
August 30th, 2001, 05:30 AM
I'm not sure if I understood your question correctly, but maybe this is what you're looking for:
IXMLDOMProcessingInstructionPtr pi = pDoc->createProcessingInstruction("xml", "encoding=\"ISO-8859-1\"")
pDoc->appendChild(pi)
Lars_V_J
August 30th, 2001, 05:39 AM
Erh...I'm not sure that this is what I need.
The case is, that I use the program called RoboHelp to generate .chm help files. In RoboHelp, every help page is a small html doc. They all share the same style sheet, however. So, to get all pages to use the same codepage, I would add the codepage tag(s) to the style sheet, so that by changing in one place only, I can change the code page.
best regards
Lars VJ
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.