none
VB.net - Unicode support - what are the changes i should do.?

    Question

  • Hi, we have a application (vb.net - windows form based), we used VS 2010, and SQL 2008.  I want to make our app unicode support 

    My database may contain Unicode characters. So, in the application end, to process/display that data successfully what are things i should check.?

    1. anything reg. controls - I heard VB.net all control are unicode supported - so, i dont have do any change related to controls..? I use regular controls, Gridview(also have editable colum), listview, buttons.

    2. Any changes For processing the data?  we retrive the data from SQL 2008 and do string operations - compare/replace some contents  in the string and populate in a xml.. 

    If i have posted this in a wrong forum category, please direct me on which is right forum category..

    Thanks in advance,

    Mahesh


    To Achive Success stay Relaxed, Not Stressed.
    Friday, November 25, 2011 1:12 PM

Answers

  • Hi,

     

    VB.Net always has full Unicode support for language and runtime.

    For backend Unicode characters, it can be displayed correctly in general.

    For backend non-unicode characters, please use related Encoding class to tranform into Unicode to get better globalization support.

    .NET Framework provides some implementations of the Encoding class to support Unicode encodings and other encodings which include UnicodeEncoding, UTF32Encoding, UTF8Encoding, ASCIIEncoding and more. You can use them to make tranformation as your demand.

    Please visit http://msdn.microsoft.com/en-us/library/kdcak6ye.aspx to learn more details about encoding transformation.

     

     

     


    Best wishes,


    Robin [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by HelpNeededO Saturday, November 26, 2011 2:59 PM
    Saturday, November 26, 2011 12:49 PM