title: internal string encoding
body: <p>I'm trying to understand how ASP classic handles strings internally. I've googled and debugged, but I still don't know how a string is encoded within the ASP script.</p>
  
  <p>See the illustration below. </p>
  
  <p><strong>Is input data transformed so that all string variables have the same encoding no matter what source?</strong></p>
  
  <p>Most ASP-pages are saved on disk as utf-8. They do however #include asp-files that are saved with another encoding. A the top of front-end-pages I set the Response encoding to unicode.</p>
  
  <pre><code>response.codepage = 65001   //unicode
  reponse.charset = 'utf-8'
  </code></pre>
  
  <p><a href="http://www.designerline.se/db/aspclassicencoding.png" rel="nofollow noreferrer">http://www.designerline.se/db/aspclassicencoding.png</a></p>