Need help with ASP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kalie

    Need help with ASP

    This is simple ASP page which is connected to Access database. When user enters data in English it enters into the database, but some of the user are requesting if they can enter data in Japanese. Right now if they enter in Japanese they get an error page. What will I need to do? To be able to accept this data in Japanese

  • clintonG

    #2
    Re: Need help with ASP

    About the only thing that comes to mind for the moment is to use
    JavaScript to write a validator that tests for ASCII characters and
    redirect when the entered text is not ASCII compliant.

    Meanwhile Google: "System.Globali zation Namespace" and start
    reading all the MSDN articles to get familiar with the capabilities of
    using ASP.NET to globalize your application.


    --
    <%= Clinton Gallagher
    A/E/C Consulting, Web Design, e-Commerce Software Development
    Wauwatosa, Milwaukee County, Wisconsin USA
    NET csgallagher@REM OVETHISTEXTmetr omilwaukee.com
    URL http://www.metromilwaukee.com/clintongallagher/








    "Kalie" <anonymous@disc ussions.microso ft.com> wrote in message
    news:23A5E6C2-4577-4BC5-AD34-0BC5830BDF34@mi crosoft.com...[color=blue]
    > This is simple ASP page which is connected to Access database. When[/color]
    user enters data in English it enters into the database, but some of the
    user are requesting if they can enter data in Japanese. Right now if
    they enter in Japanese they get an error page. What will I need to do?
    To be able to accept this data in Japanese?[color=blue]
    >[/color]


    Comment

    • Kalie

      #3
      Re: Need help with ASP

      In fact, I want them to enter and accept it in the database. Looking at the error page, it seems like Access doesn't like it. Thanks anyway for the Google suggestion...

      Comment

      • Steve C. Orr [MVP, MCSD]

        #4
        Re: Need help with ASP

        Have you tried setting it to use unicode?
        Here's more info on the subject:


        Also, you might adjust the Globalization section of your web.config.
        Try changing it to something more like this:

        <!-- Web.Config Configuration File -->
        <configuratio n>
        <system.web>
        <customErrors mode="Off"/>
        <globalizatio n
        fileEncoding="i so-8859-1"
        requestEncoding ="iso-8859-1"
        responseEncodin g="iso-8859-1"
        />
        </system.web>
        </configuration>

        --
        I hope this helps,
        Steve C. Orr, MCSD, MVP



        "Kalie" <anonymous@disc ussions.microso ft.com> wrote in message
        news:23A5E6C2-4577-4BC5-AD34-0BC5830BDF34@mi crosoft.com...[color=blue]
        > This is simple ASP page which is connected to Access database. When user[/color]
        enters data in English it enters into the database, but some of the user are
        requesting if they can enter data in Japanese. Right now if they enter in
        Japanese they get an error page. What will I need to do? To be able to
        accept this data in Japanese?[color=blue]
        >[/color]


        Comment

        • Kalie

          #5
          Re: Need help with ASP

          As I mentioned before I am not using .net here. This is just simple ASP page. Can I still use this code and how?

          Comment

          • Kalie

            #6
            Re: Need help with ASP

            No it accepts the data, I just needed to increase the size of field, but when it comes in the database it doesn't come in japanese string, instead it comes in combination of numbers and charecters, something like this: & #6 5405;& #6 5408; I kept some spaces because sometimes if I cut and paste exact string, I see japanese string after publishing. I still need help on this. I am trying different things, I used CODEPAGE=932. Do I need to check version of Jet database engine?

            Comment

            • Kalie

              #7
              Re: Need help with ASP

              No it accepts the data, I just needed to increase the size of field, but when it comes in the database it doesn't come in japanese string, instead it comes in combination of numbers and charecters, something like this: & #6 5405;& #6 5408; I kept some spaces because sometimes if I cut and paste exact string, I see japanese string after publishing. I still need help on this. I am trying different things, I used CODEPAGE=932. Do I need to check version of Jet database engine?

              Comment

              Working...