473,800 Members | 2,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net killing foreign letters??

Hi,

I've made an input page in asp.net and the records are saved BUT without
the 'foreign letters' like é, ä, ü and so on!?

What could be the problem?

My SQL database accepts these letters without problems, so it has to be
asp.net who deletes them while inserting the record into the SQL
database. The field in the database is defined as varchar(250).

Any help is greatly appreciated!

Jerome
Nov 18 '05 #1
6 1203
Try to define the field as a nvarchar(250)
George.

"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:uB******** ******@TK2MSFTN GP11.phx.gbl...
Hi,

I've made an input page in asp.net and the records are saved BUT without
the 'foreign letters' like é, ä, ü and so on!?

What could be the problem?

My SQL database accepts these letters without problems, so it has to be
asp.net who deletes them while inserting the record into the SQL
database. The field in the database is defined as varchar(250).

Any help is greatly appreciated!

Jerome

Nov 18 '05 #2
Hm, doesn't work with nvarchar(250) neither.
The special characters don't get saved! :(
George Ter-Saakov wrote:
Try to define the field as a nvarchar(250)
George.

"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:uB******** ******@TK2MSFTN GP11.phx.gbl...
Hi,

I've made an input page in asp.net and the records are saved BUT without
the 'foreign letters' like é, ä, ü and so on!?

What could be the problem?

My SQL database accepts these letters without problems, so it has to be
asp.net who deletes them while inserting the record into the SQL
database. The field in the database is defined as varchar(250).

Any help is greatly appreciated!

Jerome


Nov 18 '05 #3
Have you tried setting breakpoints in your application and step through
every single line watching where the characters are and where they are not.
"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:O9******** ******@TK2MSFTN GP12.phx.gbl...
Hm, doesn't work with nvarchar(250) neither.
The special characters don't get saved! :(
George Ter-Saakov wrote:
Try to define the field as a nvarchar(250)
George.

"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:uB******** ******@TK2MSFTN GP11.phx.gbl...
Hi,

I've made an input page in asp.net and the records are saved BUT without
the 'foreign letters' like é, ä, ü and so on!?

What could be the problem?

My SQL database accepts these letters without problems, so it has to be
asp.net who deletes them while inserting the record into the SQL
database. The field in the database is defined as varchar(250).

Any help is greatly appreciated!

Jerome



Nov 18 '05 #4
On the SQL server the field is defined a nvarch(250),
but in the table in the SQL connection in Dreamweaver 2004 the same
field is characterized as wchar(250)? But I can't change that there...

What's this 'wchar'? Doesn't 'wchar' saved special characters?

Thanks.

jo*****@driver. net wrote:
Have you tried setting breakpoints in your application and step through
every single line watching where the characters are and where they are not.
"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:O9******** ******@TK2MSFTN GP12.phx.gbl...
Hm, doesn't work with nvarchar(250) neither.
The special characters don't get saved! :(
George Ter-Saakov wrote:
Try to define the field as a nvarchar(250)
George.

"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:uB***** *********@TK2MS FTNGP11.phx.gbl ...
Hi,

I've made an input page in asp.net and the records are saved BUT without
the 'foreign letters' like é, ä, ü and so on!?

What could be the problem?

My SQL database accepts these letters without problems, so it has to be
asp.net who deletes them while inserting the record into the SQL
database. The field in the database is defined as varchar(250).

Any help is greatly appreciated!

Jerome

Nov 18 '05 #5
nvarchar holds Unicode strings
wchar is the same. I guess different names.

I am not sure what you mean by "in the table in the SQL connection in
Dreamweaver 2004" always thought that dreamweaver is the tool to design
HTML.

George.
"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
On the SQL server the field is defined a nvarch(250),
but in the table in the SQL connection in Dreamweaver 2004 the same
field is characterized as wchar(250)? But I can't change that there...

What's this 'wchar'? Doesn't 'wchar' saved special characters?

Thanks.

jo*****@driver. net wrote:
Have you tried setting breakpoints in your application and step through
every single line watching where the characters are and where they are not.

"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:O9******** ******@TK2MSFTN GP12.phx.gbl...
Hm, doesn't work with nvarchar(250) neither.
The special characters don't get saved! :(
George Ter-Saakov wrote:

Try to define the field as a nvarchar(250)
George.

"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:uB***** *********@TK2MS FTNGP11.phx.gbl ...
>Hi,
>
>I've made an input page in asp.net and the records are saved BUT without>the 'foreign letters' like é, ä, ü and so on!?
>
>What could be the problem?
>
>My SQL database accepts these letters without problems, so it has to be>asp.net who deletes them while inserting the record into the SQL
>database. The field in the database is defined as varchar(250).
>
>Any help is greatly appreciated!
>
>Jerome

Nov 18 '05 #6
Hi, it seems like the code generated by Dreamweaver to insert the SQL is
the problem. I've created a test page purely in ASP.NET and there the
special characters don't disappear!

So I've turned my attention to Dreamweaver forums, since I'd like to
still use some of DW's neat features.

THanks anyhow to all those who answered inhere!

Jerome
George Ter-Saakov wrote:
nvarchar holds Unicode strings
wchar is the same. I guess different names.

I am not sure what you mean by "in the table in the SQL connection in
Dreamweaver 2004" always thought that dreamweaver is the tool to design
HTML.

George.
"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
On the SQL server the field is defined a nvarch(250),
but in the table in the SQL connection in Dreamweaver 2004 the same
field is characterized as wchar(250)? But I can't change that there...

What's this 'wchar'? Doesn't 'wchar' saved special characters?

Thanks.

jo*****@drive r.net wrote:
Have you tried setting breakpoints in your application and step through
every single line watching where the characters are and where they are
not.

"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
news:O9***** *********@TK2MS FTNGP12.phx.gbl ...
Hm, doesn't work with nvarchar(250) neither.
The special characters don't get saved! :(
George Ter-Saakov wrote:
>Try to define the field as a nvarchar(250)
>
>
>George.
>
>"Jerome" <jh***@no.mnhn. spam.lu> wrote in message
>news:uB*** ***********@TK2 MSFTNGP11.phx.g bl...
>
>
>
>>Hi,
>>
>>I've made an input page in asp.net and the records are saved BUT
without
the 'foreign letters' like é, ä, ü and so on!?
>>
>>What could be the problem?
>>
>>My SQL database accepts these letters without problems, so it has to
be
asp.net who deletes them while inserting the record into the SQL
>>databas e. The field in the database is defined as varchar(250).
>>
>>Any help is greatly appreciated!
>>
>>Jerome
>
>


Nov 18 '05 #7

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

Similar topics

4
8213
by: Toffe | last post by:
Hi, I've got a problem with regular expressions and strings containing Swedish characters (åäö). I basically have a PHP script that highlights certain words in a text. I found the code attached below in the commented manual at php.net. It works great for all words that do not contain Swedish characters. The words that do contain åäö will not be highlighted.
12
11450
by: Smash | last post by:
i have this function: ------------------------------------------------------------ function isAlfaNumeric(vnos,space) { if (space==false) { validRegExp = /^{0,}$/; } else { validRegExp = /^{0,}$/; }
1
1957
by: dalei | last post by:
I like to make foreign letters to appear in the textarea. For instance, when typing the letter 'a' on the keyboard, the Japanese letter &#+12449; would appear in the textarea. Could somebody insert a simple code in following program? I will follow suit from there. <style> body { font-family:arial;} textarea { font-family:"lucida sans unicode"; }
1
3106
by: James E | last post by:
I have a question about best practices of how to deal with lookup data from my C# apps. On a couple of occasions I have come across a problem where I have to automate inserting a record into a table that has a foreign key constraint that is linked to a lookup table. E.g. Take the following database structure: SQL-Server Database: Table 1:
0
1092
by: Daylor | last post by:
hi. i use the function the ms publish,to convert Managed String to Char * . with english string it works ok. now, i have problem, when for example ,im try to convert a path to file , when the file name is in HEBREW letters. the result i get it the conversion till the foreign fonts.
39
2543
by: clintonG | last post by:
This is not about starting a fight but an observation that seems to be proving itself on its own merit and is therefore simply a point of conjecture. I did not get serious about writing software until I learned ASP/VBS (if that can be called writing software) as my focus was and remains for the most part developing for the web. Even though I have had a programming class in C which I somehow passed, JavaScript always gave me the heeby...
1
1213
by: Trond Engebråten | last post by:
The typical foreign letters in the text file I read are missing. Has it something to do with the declaration of the file? Dim sr As StreamReader = File.OpenText("c:\MyFile.txt")
13
6252
by: Superman859 | last post by:
Hello everyone. Heads up - c++ syntax is killing me. I do quite well in creating a Java program with very few syntax errors, but I get them all over the place in c++. The smallest little things get me, which brings me to... I'm trying to create a program that gets a string from standard input and then manipulates it a little bit. It has to be a char array and not use string from the library. Here are my prototypes:
5
1126
by: Binaries | last post by:
Hi I am having a little bit of trouble looking for a file in a directory that has random letters & numbers after "D20" how would i use the Dir command to check if this file exists while using the InStr function to get the file name of the file starting with "D20" and then killing it. Much help is appreciated thanks.
0
9691
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...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9090
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...
1
7580
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2945
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.