Need help with ASP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.Globalization 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 (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/








Kalie said:
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?
 
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...
 
Have you tried setting it to use unicode?
Here's more info on the subject:
http://msdn.microsoft.com/library/d...en-us/cpguide/html/cpconencodingbasetypes.asp

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

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net


Kalie said:
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?
 
As I mentioned before I am not using .net here. This is just simple ASP page. Can I still use this code and how?
 
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?
 
Back
Top