Results 1 to 5 of 5

Thread: what is the character encoding of vs2005/2008?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Hong Kong
    Posts
    384

    what is the character encoding of vs2005/2008?

    I use the program which is made by vs2008 C#.net to type the chinese character and then save to mssql database. I can successfully see the chinese in sql browser, but when I use php and using utf-8 to get the chinese back, and there is Mojibake. So, what is the charset of my web?

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: what is the character encoding of vs2005/2008?

    The encoding of the application Visual Studio is not the problem, Visual Studio is simply the IDE in which you create applications. If you're displaying non-English characters, then you should set the document's CharSet in the HTML. What have you set the current charset to?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Hong Kong
    Posts
    384

    Re: what is the character encoding of vs2005/2008?

    I thought mssql cannot save chinese character or utf-8/big5 b4...I think it is wrong now.

    My webpage using charset=utf-8:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Hong Kong
    Posts
    384

    Re: what is the character encoding of vs2005/2008?

    Does anyone know?

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: what is the character encoding of vs2005/2008?

    Maybe start here: Understanding Encodings?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width