Foreign Characters & ASP.net

Discussion in 'ASP .Net' started by tatemononai, Aug 21, 2005.

  1. tatemononai

    tatemononai Guest

    I'm trying to display Japanese characters on an asp.net web forms
    application. I am about ready to shave my head too. The whole thing
    is just silly.

    Ok, inside Visual Studio I can enter Japanese into my code left and
    right and it works without any problems. When I dubug the application
    any Japanese characters on the page turn into garbage. If I have
    characters directly on the page, garbage. If I have characters inside
    a text label, garbage again.

    But interestingly enough, if I put characters into a custom control
    that I wrote, those display just fine. ??

    The response encoding (and everything encoding) it set to "utf-8".

    The culture and uiCulture are both set to "ja-JP"

    ??? What is wrong ???
     
    tatemononai, Aug 21, 2005
    #1
    1. Advertisements

  2. tatemononai

    Joerg Jooss Guest

    Well, there's a lot that's wrong with that particular line, but I've
    never heard that it screws up character encoding?


    Cheers,
     
    Joerg Jooss, Aug 22, 2005
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.