ASP/XML Encoding

Discussion in 'Classic ASP' started by tanker23, Mar 6, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. He, there!
    I'm developing a web site using foreign characters (russian), encoding Windows-1251, using ASP and XML files to store Menu and Content information. On my development server running Windows XP Pro and IIS 6 everything looks fine. Once I transfered my site online, I've got nothing but question marks in place of the russian characters, whenever it comes from ASP processed XML file, such as on-screen menus and content that are dynamically built. ASP script opens XML file and builds these items based on XML data on the server.
    I would suspect XML file encoding, but like I mentioned, it works perfectly on my server, even when accessed from different machines over my network, even those without Russian language support at all.
    The pilot site is at www.tancompart.com/of, XML files are menu.xml and content.xml in the root directory. I tried to add encoding attributes to the XML and even to the Response object with no success.
    One other thing worth mentioning - I have downloaded latest MS XML Parser on my IIS. Could that make a difference?
    Any help on resolving this issue would be greatly appreciated.
    Thank you


    Alex Talyanker
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    What happened if you pull up the XML file directly through web browser.


    quote:Originally posted by tanker23

    He, there!
    I'm developing a web site using foreign characters (russian), encoding Windows-1251, using ASP and XML files to store Menu and Content information. On my development server running Windows XP Pro and IIS 6 everything looks fine. Once I transfered my site online, I've got nothing but question marks in place of the russian characters, whenever it comes from ASP processed XML file, such as on-screen menus and content that are dynamically built. ASP script opens XML file and builds these items based on XML data on the server.
    I would suspect XML file encoding, but like I mentioned, it works perfectly on my server, even when accessed from different machines over my network, even those without Russian language support at all.
    The pilot site is at www.tancompart.com/of, XML files are menu.xml and content.xml in the root directory. I tried to add encoding attributes to the XML and even to the Response object with no success.
    One other thing worth mentioning - I have downloaded latest MS XML Parser on my IIS. Could that make a difference?
    Any help on resolving this issue would be greatly appreciated.
    Thank you


    Alex Talyanker
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page