Wrong charset in ASP classic loaded via AJAX
I have issue with dynamic loading of part of content on ASP classic page. I use AJAX to load <div> on page dynamically, depending on dropdown selected option. Generated <div> contains some Labels for containing dropdowns and option text inside of dropdowns. Labels are constants encoded in UTF-8 and contain some western European accented characters, and option texts are loaded from database, contain accented characters too but are coded in ANSI. <meta> tags are set to utf-8 but it affects only first load of page, cos its all put together on page. After selecting other options, AJAX fills <div> with elements and it loads labels well but options text is messed up, so i guess AJAX doesnt load up encoding with text second and etc. times. Work-around was to change label text in constants and set 
<% Response.Charset = "windows-1252" %> on page that is beeing loaded first time.
Now, i want to find better way for this, prefferably in AJAX response to set it all to UTF-8 or windows-1225, or to set each element on page to have different coding with ajax. I even tried Replace function from ASP classic, it works , but again it needs for each new accented letter other replace. Any help appreciated! :)
Wrong charset in ASP classic loaded via AJAX
===

I have issue with dynamic loading of part of content on ASP classic page. I use AJAX to load <div> on page dynamically, depending on dropdown selected option. Generated <div> contains some Labels for containing dropdowns and option text inside of dropdowns. Labels are constants encoded in UTF-8 and contain some western European accented characters, and option texts are loaded from database, contain accented characters too but are coded in ANSI. <meta> tags are set to utf-8 but it affects only first load of page, cos its all put together on page. After selecting other options, AJAX fills <div> with elements and it loads labels well but options text is messed up, so i guess AJAX doesnt load up encoding with text second and etc. times. Work-around was to change label text in constants and set 
<% Response.Charset = "windows-1252" %> on page that is beeing loaded first time.
Now, i want to find better way for this, prefferably in AJAX response to set it all to UTF-8 or windows-1225, or to set each element on page to have different coding with ajax. I even tried Replace function from ASP classic, it works , but again it needs for each new accented letter other replace. Any help appreciated! :)