ASP.NET 2.0 Localization effects on cookies and query strings

Discussion in 'ASP .Net' started by =?Utf-8?B?VFZESlI=?=, Nov 1, 2006.

  1. Hi, I haven't had much luck in finding anything on this subject matter. I
    have a decent understanding of localization techinques but am not quite sure
    about some of the more simple things related to it. For example, say a user
    is in china, do they enter the english version of the url to go to the site?
    Say ? or do they enter the url with chinese characters? Can i
    read and write a cookie to their system using a english value for the cookie?
    Such as anonymousid = 1234? Also, if i have a gridview with a hyperlink
    column that passes a ID with the querystring, like, will that be still the same for all
    =?Utf-8?B?VFZESlI=?=, Nov 1, 2006
    1. Advertisements

  2. Hi,

    From ASP.NET point of view, you normally localize your web site using
    resource in which case you have one single web site for users from differnt
    countries. For example:

    #Localization of the ASP.NET login control

    All you have to do is install the language packs and use
    'UICulture="auto"', then depending on your users' client browser settings,
    the same web page will be displayed in different languages.

    Also, other languages such as Chinese are compatible with English, which
    means read and write a cookie to their system using English value will be
    OK. As for the querystring, I believe browser will encode it using UTF-8,
    which means you can safely use it to pass values even in other languages.

    Walter Wang (, remove 'online.')
    Microsoft Online Community Support

    Get notification to my posts through email? Please refer to
    ications. If you are using Outlook Express, please make sure you clear the
    check box "Tools/Options/Read: Get 300 headers at a time" to see your reply

    Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
    where an initial response from the community or a Microsoft Support
    Engineer within 1 business day is acceptable. Please note that each follow
    up response may take approximately 2 business days as the support
    professional working with you may need further investigation to reach the
    most efficient resolution. The offering is not appropriate for situations
    that require urgent, real-time or phone-based interactions or complex
    project analysis and dump analysis issues. Issues of this nature are best
    handled working with a dedicated Microsoft Support Engineer by contacting
    Microsoft Customer Support Services (CSS) at

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Walter Wang [MSFT], Nov 2, 2006
    1. Advertisements

  3. Hi,

    I am interested in this issue. Would you mind letting me know the result of
    the suggestions? If you need further assistance, feel free to let me know.
    I will be more than happy to be of assistance.

    Have a great day!

    Walter Wang (, remove 'online.')
    Microsoft Online Community Support

    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Walter Wang [MSFT], Nov 6, 2006
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?R3JhaGFt?=

    Can I find strings that need localization?

    =?Utf-8?B?R3JhaGFt?=, May 11, 2004, in forum: ASP .Net
  2. Julia
    Feb 22, 2005
  3. Ben

    Strings, Strings and Damned Strings

    Ben, Jun 22, 2006, in forum: C Programming
    Jun 24, 2006
  4. _Who
  5. g

    Strings for Strings Query

    g, Nov 8, 2003, in forum: ASP General
    Aaron Bertrand [MVP]
    Nov 8, 2003

Share This Page