473,776 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Classic ASP sytem needs to support Chinese data entry - to do list

I have a large classic ASP web application which needs to now support chinese
character entry (I don't have to worry about the UI yet - the data entry
people can read english). Other than changing the database fields over to
"N" data types, do I need to do anything to the actual entry fields (input,
textbox) on the various forms to be able to capture the information. Some
users will be entering the information in english, while others will be
translating the same info into chinese as they enter it.

I know this is probably much easier in .net, but we have yet made that
transition. Now that 2.0 is available, it should be much more viable.

Any assistance is appreciated.

Carlin
Apr 16 '07 #1
4 4513

"Carlin Anderson" <Ca************ @discussions.mi crosoft.comwrot e in
message news:DC******** *************** ***********@mic rosoft.com...
I have a large classic ASP web application which needs to now support
chinese
character entry (I don't have to worry about the UI yet - the data entry
people can read english). Other than changing the database fields over to
"N" data types, do I need to do anything to the actual entry fields
(input,
textbox) on the various forms to be able to capture the information.
Some
users will be entering the information in english, while others will be
translating the same info into chinese as they enter it.

I know this is probably much easier in .net, but we have yet made that
transition. Now that 2.0 is available, it should be much more viable.

Any assistance is appreciated.

Carlin
You will need the Form pages to be sent as UTF-8 and the client informed of
that choice.

Response.Codepa ge = 65001
Response.CharSe t = "UTF-8"

If your existing page contains characters outside the standard ASCII set
save the file as UTF-8.

Now this is important, any page receiving a POST from such a form MUST
specify Response.CodePa ge = 65001 before it attempts to retrieve values from
the form fields.

With that done and NVARCHAR fields in place you should be ok.

Anthony.
Apr 16 '07 #2
a meta tag in all pages to indicate the encoding:
<meta http-equiv="content-type" content="text/html; charset=utf-8">
>Now this is important, any page receiving a POST from such a form MUST
specify Response.CodePa ge = 65001 before it attempts to retrieve values from
the form fields.
Thats very important!

On Apr 17, 12:02 am, "Anthony Jones" <A...@yadayaday ada.comwrote:
"Carlin Anderson" <CarlinAnder... @discussions.mi crosoft.comwrot e in
messagenews:DC* *************** *************** ***@microsoft.c om...


I have a large classic ASP web application which needs to now support
chinese
character entry (I don't have to worry about the UI yet - the data entry
people can read english). Other than changing the database fields over to
"N" data types, do I need to do anything to the actual entry fields
(input,
textbox) on the various forms to be able to capture the information.
Some
users will be entering the information in english, while others will be
translating the same info into chinese as they enter it.
I know this is probably much easier in .net, but we have yet made that
transition. Now that 2.0 is available, it should be much more viable.
Any assistance is appreciated.
Carlin

You will need the Form pages to be sent as UTF-8 and the client informed of
that choice.

Response.Codepa ge = 65001
Response.CharSe t = "UTF-8"

If your existing page contains characters outside the standard ASCII set
save the file as UTF-8.

Now this is important, any page receiving a POST from such a form MUST
specify Response.CodePa ge = 65001 before it attempts to retrieve values from
the form fields.

With that done and NVARCHAR fields in place you should be ok.

Anthony.- Hide quoted text -

- Show quoted text -

Apr 17 '07 #3

"michal" <mg****@gmail.c omwrote in message
news:11******** **************@ e65g2000hsc.goo glegroups.com.. .
a meta tag in all pages to indicate the encoding:
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Since the actual content-type header already contains this value why is this
meta tag needed?
Apr 17 '07 #4
for instance for search engines

On Apr 17, 10:26 am, "Anthony Jones" <A...@yadayaday ada.comwrote:
"michal" <mga...@gmail.c omwrote in message

news:11******** **************@ e65g2000hsc.goo glegroups.com.. .
a meta tag in all pages to indicate the encoding:
<meta http-equiv="content-type" content="text/html; charset=utf-8">

Since the actual content-type header already contains this value why is this
meta tag needed?

Apr 17 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9540
by: Aditya Ivaturi | last post by:
We have a CMS which is written is based on php & mysql. Recently we received a request to support multiple languages so that sites in that particular laguage can be created. I did some search on the google and it seems I have to build in multibyte support for php and mysql. Mbstring (http://us3.php.net/mbstring) claims to support multiple languages with a caution saying it might not work properly. After further research it seems unicode...
1
2983
by: Anthony Liu | last post by:
The following 4 lines of code parses an XML document very well if the XML document contains only English words. But when I insert one Chinese character into the XML document, then Python starts to complain when it hits the Chinese character, saying that it is an invalid token and thus it is not well-formed. This is the complaint of Python:
1
6471
by: bjwang | last post by:
Hello wisers, We are testing a system which is developed on top of Oracle 9iAS. The client PCs are using Internet Explorer to access the system. We are sure that the Oracle 9i database server is set to use Unicode. The Oracle 9i database server and Oracle 9iAS server are now running on English Windows 2000 server. With client PCs running on traditional Chinese Windows 2000 or traditional Chinese Windows XP, via Internet Explorer we put...
3
2002
by: Antonio | last post by:
Hi, I want to read an html page written in chinese and store it in a file having extension .aspx , I'm not sure where is the problem, I use the following lines of code: String sAddress = "http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_zh&trurl=http://www.etantonio.it/EN/index.aspx" ; WebRequest req = WebRequest.Create(sAddress); WebResponse result = req.GetResponse();
99
6242
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a small or mid-sized business. http://groups-beta.google.com/group/microsoft.public.msdn.general/browse_thread/thread/9d7e8f9a00c1c7da/459ca99eb0e7c328?q=%22Proposed+MSDN+subscription+changes%22&rnum=1#459ca99eb0e7c328 Damn! To be that...
5
3104
by: Ma Siva Kumar | last post by:
Running postgresql-7.3.2-3 which came with Red Hat 9.0. Created a database with unicode encoding (in psql) as below: create database leatherlink with encoding='unicode' template=leatherlinkdb; leatherlinkdb is an existing database with the default encoding SQL_ASCII. When I insert Chinsese strings into the database, it is taken in and displayed back properly. But there is an issue:
3
3205
by: excel_hari | last post by:
Hi, I couldnt locate a Classic ASP group hence posting here. One of my colleagues has designed an intranet site and one of the pages has a drop-down box with close to 300 options. I want to navigate to the desired option quickly just by typing out the name. For example if I want to choose "Other" (All the options are arranged alhabetically within the Drop-down box) from Drop-down and if I Type "O" then I navigate to first entry with...
9
2128
by: Charles Law | last post by:
Hi chaps I realise that this is a .NET group, but please don't shoot me down quite yet. I looked in the vb classic groups and there seems to be so little activity there that I was not hopeful of a prompt response, and I figure that the guys here probably came from vb classic anyway. So, apology over .... I have an application in vb6, and I want to install it on a system that has never seen the vb development environment, or any of the...
4
12697
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or place a stop directive in the code which ends up doing the same thing. The problem with this is that you can't debug browser side Javascript in the same debug run. You get a "The breakpoint will not currently be hit. The document is not loaded." if...
0
9628
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9464
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10292
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9923
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8954
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5368
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5497
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2860
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.