By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,704 Members | 1,122 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,704 IT Pros & Developers. It's quick & easy.

Need help with ASP

P: n/a
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

Nov 18 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
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 cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/


"Kalie" <an*******@discussions.microsoft.com> wrote in message
news:23**********************************@microsof t.com...
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?

Nov 18 '05 #2

P: n/a
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...
Nov 18 '05 #3

P: n/a
Have you tried setting it to use unicode?
Here's more info on the subject:
http://msdn.microsoft.com/library/de...gbasetypes.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" <an*******@discussions.microsoft.com> wrote in message
news:23**********************************@microsof t.com...
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?

Nov 18 '05 #4

P: n/a
As I mentioned before I am not using .net here. This is just simple ASP page. Can I still use this code and how?
Nov 18 '05 #5

P: n/a
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?
Nov 18 '05 #6

P: n/a
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?
Nov 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.