Re: Corrupted text when pulling from DB

  •  01-02-2009, 1:24 PM

    Re: Corrupted text when pulling from DB

    1.
     
      <%
               response.write("NEW YEAR’S EVE FAMILY FUN DAY")
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'This property provides access to the text within the editable area of the CuteEditor control
               editor.Text = "NEW YEAR’S EVE FAMILY FUN DAY"
               editor.Draw()
       %>
    2.
     
      <%
               SetLocale("en-ca")
               response.write("NEW YEAR’S EVE FAMILY FUN DAY")
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'This property provides access to the text within the editable area of the CuteEditor control
               editor.Text = "NEW YEAR’S EVE FAMILY FUN DAY"
               editor.Draw()
       %>
     
    3.
     
      <%
               SetLocale("en-ca")
               dim stringfromDB
               stringfromDB=*************
               response.write("stringfromDB
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'This property provides access to the text within the editable area of the CuteEditor control
               editor.Text = stringfromDB
               editor.Draw()
       %>
     
    4.
     
      <%
               response.Codepage = 65001
               response.Charset = "utf-8"
               SetLocale("en-ca")
               dim stringfromDB
               stringfromDB=*************
               response.write("stringfromDB
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'This property provides access to the text within the editable area of the CuteEditor control
               editor.Text = stringfromDB
               editor.Draw()
       %>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread