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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Unicode problem in asp.net2.0

Unicode problem in asp.net2.0

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasemysqlsysadmin
5 Posts 2 Posters 7 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.
  • S Offline
    S Offline
    sbua
    wrote on last edited by
    #1

    Hi, I am developing a website with russian language. I declared utf8 encoding in web.config and i have declared globalization tag in web.config. I defined charset attribute in connectionstring as utf8.It works fine in local mysql database.But if i upload the same page in server the data stored in database as question marks.Please give me an idea to solve this problem. Thanks.

    E 1 Reply Last reply
    0
    • S sbua

      Hi, I am developing a website with russian language. I declared utf8 encoding in web.config and i have declared globalization tag in web.config. I defined charset attribute in connectionstring as utf8.It works fine in local mysql database.But if i upload the same page in server the data stored in database as question marks.Please give me an idea to solve this problem. Thanks.

      E Offline
      E Offline
      Expert Coming
      wrote on last edited by
      #2

      I would start by finding out what is different from the dev environment to the production environment. Does your server have the same language set as the dev station?

      The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

      S 1 Reply Last reply
      0
      • E Expert Coming

        I would start by finding out what is different from the dev environment to the production environment. Does your server have the same language set as the dev station?

        The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

        S Offline
        S Offline
        sbua
        wrote on last edited by
        #3

        Hi, Thanks for your reply. Our database server and developer mysql database have the same utf8 format. Thanks

        E 1 Reply Last reply
        0
        • S sbua

          Hi, Thanks for your reply. Our database server and developer mysql database have the same utf8 format. Thanks

          E Offline
          E Offline
          Expert Coming
          wrote on last edited by
          #4

          Ok, database servers have been checked, how about the servers on which IIS lives on? By the way, how much Googleing have you done? If you have done any, what keywords have you used?

          The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

          S 1 Reply Last reply
          0
          • E Expert Coming

            Ok, database servers have been checked, how about the servers on which IIS lives on? By the way, how much Googleing have you done? If you have done any, what keywords have you used?

            The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

            S Offline
            S Offline
            sbua
            wrote on last edited by
            #5

            Hi, The production IIS 6.0. We searched a lot.i used the keywords "Charset in connectionstring using asp.net","UTF8 format" Another important thing "when i execute a query in production database server it stored the records in russian language" But it is not working through the dotnet application we read the below url: http://liadprog.blogspot.com/2007/10/aspnet-20-with-mysql-412-unicode.html[^] Thanks for your reply

            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