473,388 Members | 1,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

International character dissapears from FORM

Hi.
I am having problems sending values from a simple FORM to a database.
All is written in ASP, and I am doing some validations before it is
actually saved in my database.

It worked for several years, but now it won't accept international
characters. This means that the Norwegian word for boat "BÅT" ends up
like "BT" since the "Å" isn't sent.

I have done several testings, and it actually looks like the error
occurs immidiately after I hit the submit-button.

Does anybody know why this problem has occured?
Looking forward to your answers.
royend...

Jun 21 '06 #1
7 1275
use the character codes, not the actual letter. so when the character is
posted.....try to convert it......

<%
varItsStoredIn = Replace(varItsStoredIn, "Å", "")
%>
hope this helps ya.



<ro****@gmail.com> wrote in message
news:11**********************@r2g2000cwb.googlegro ups.com...
Hi.
I am having problems sending values from a simple FORM to a database.
All is written in ASP, and I am doing some validations before it is
actually saved in my database.

It worked for several years, but now it won't accept international
characters. This means that the Norwegian word for boat "BÅT" ends up
like "BT" since the "Å" isn't sent.

I have done several testings, and it actually looks like the error
occurs immidiately after I hit the submit-button.

Does anybody know why this problem has occured?
Looking forward to your answers.
royend...
Jun 21 '06 #2
I have actually tried converting the letters with ASP, but the problem
is that the string is transformed before it reaches the ASP.

In my .asp-file I have
Response.Write(Request.Form("text"))
as my first line, and it still don't contain the international
letters....

I really don't get this one, as I have multiple forms that actually
does send everything perfect.

royend :|
James Jones wrote:
use the character codes, not the actual letter. so when the character is
posted.....try to convert it......

<%
varItsStoredIn = Replace(varItsStoredIn, "Å", "")
%>


hope this helps ya.


Jun 21 '06 #3
wrote on 21 jun 2006 in microsoft.public.inetserver.asp.general:
James Jones wrote:
use the character codes, not the actual letter. so when the character
is posted.....try to convert it......

<%
varItsStoredIn = Replace(varItsStoredIn, "Å", "")
%>

I have actually tried converting the letters with ASP, but the problem
is that the string is transformed before it reaches the ASP.

In my .asp-file I have
Response.Write(Request.Form("text"))
as my first line, and it still don't contain the international
letters....

I really don't get this one, as I have multiple forms that actually
does send everything perfect.


I strongly suspect it has to do with the character set used by your
browser. Try rightclicking on the page in IE and try different
"encoding"s.

ASP can set these for you in the header.

Under ASP try different "code-pages":

How?
<http://www.html.dk/dokumentation/objects/asp/iiapmls.htm>

Baltic:
<http://www.microsoft.com/globaldev/reference/iso/28594.mspx>

More:
<http://www.microsoft.com/globaldev/reference/wincp.mspx>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 21 '06 #4
Thanks for the advice, but still it didn't work. This is a real
challenge as I need this to get working.

Another tips for those looking for their LCID-code:
http://www.microsoft.com/globaldev/r.../lcid-all.mspx

Still looking for the correct answer to my problem though.
Thanks for all your tips so far.
royend:)

Jun 21 '06 #5
wrote on 21 jun 2006 in microsoft.public.inetserver.asp.general:
Thanks for the advice, but still it didn't work. This is a real
challenge as I need this to get working.


Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at the
top of the article, then click on the "Reply" at the bottom of the article
headers.

<http://www.safalra.com/special/googlegroupsreply/>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 21 '06 #6
Thanks for your tip!

Evertjan. wrote:
Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at the
top of the article, then click on the "Reply" at the bottom of the article
headers.

<http://www.safalra.com/special/googlegroupsreply/>


I will use this technique from now on.
Still, no solution to the problem though...
royend

Jun 22 '06 #7
wrote on 22 jun 2006 in microsoft.public.inetserver.asp.general:
Thanks for your tip!

Evertjan. wrote:
Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of
the article headers.

<http://www.safalra.com/special/googlegroupsreply/>


I will use this technique from now on.
Still, no solution to the problem though...
royend


What problem? ;-)

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 22 '06 #8

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

Similar topics

16
by: Mark Hahn | last post by:
Can users with international keyboards tell me if they have problems typing the left-quote ( ` ) character? It isn't used much in Python but we are thinking of giving it a slightly more important...
6
by: D Witherspoon | last post by:
My application takes 5 or 6 seconds to load because of the time required to communicate with web services and load from the database. In the meantime I'd like to show a splash screen in a seperate...
0
by: Yeongja_Choi | last post by:
How Dare Could America Industrial Property Office Be In Conspiracy With Jungang International Patent Office To Make An Extravagant International Crime ? Currently a Korean party now holds the...
15
by: Steve | last post by:
Hi, I've been charged with investigating the possibilities of internationalizing our C++ libraries. std::strings are used all over the place, and unfortunately a mixture of...
0
by: avinash | last post by:
International Conference on Computational Intelligence and Multimedia Applications, August 16-18, 2005 University of Nevada, Las Vegas, USA (www.iccima.org) F I R S T C A L L F O R P...
2
by: Nicolae Fieraru | last post by:
Hi All, I have a form which lists information about customers, and I can also add new customers. This form contains a subform which lists all the products a customer bought. If I browse to...
1
by: Joerg | last post by:
I am in the process of creating an international GUI application with C# on ..NET1.1 (Win2k), which is supposed to implement a particular look/design. In order to achieve this, I plan amongst...
2
by: Mick_fae_Glesga | last post by:
Hello everyone! OK, I'm writing a windows program that requires the user to enter Cyrillic characters into an Edit control. But, I can't seem to get the Cyrillic characters to appear in the...
2
by: Alain | last post by:
Hi, I am working on a project where I need to convert international characters with acii values. Like André -> andre and Björn -> bjorn. How can I do this without replacing every single...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.