Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. utf-8 in asp is different from utf-8 in aspx

utf-8 in asp is different from utf-8 in aspx

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasehelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    awu25
    wrote on last edited by
    #1

    I am upgrading my site form asp 3.0 to .net. Both charset are set to utf-8 but datas entered with 3.0 are not readable by aspx and vice versa. With asp3.0 I never used the N' in my sql statement but the page can save and read data fine. Some of the columns are not event set as nvarchar type, just the regular varchar and the data is still readable by asp 3.0. With aspx I need to both set the column type to nvarchar and use the N' in the statement. Since they are both utf-8 I can't really use the converter I have to convert the encoding. Does anyone have any soultion to my problem? Any response is appreciated.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups